Setting the spanning tree mode – H3C Technologies H3C S12500-X Series Switches User Manual
Page 87
76
Tasks at a glance
Configuring the leaf nodes:
•
(Required.)
Setting the spanning tree mode
•
(Required.)
•
(Optional.)
Configuring the device priority
•
(Optional.)
Configuring the timeout factor
•
(Optional.)
Configuring the BPDU transmission rate
•
(Optional.)
•
(Optional.)
Configuring path costs of ports
•
(Optional.)
•
(Optional.)
Configuring the port link type
•
(Optional.)
Configuring the mode a port uses to recognize and send MSTP packets
•
(Optional.)
Enabling outputting port state transition information
•
(Required.)
Enabling the spanning tree feature
(Optional.)
(Optional.)
(Optional.)
Configuring No Agreement Check
(Optional.)
Configuring protection functions
Setting the spanning tree mode
The spanning tree modes include:
•
STP mode—All ports of the device send STP BPDUs. Select this mode when the peer device of a port
supports only STP.
•
RSTP mode—All ports of the device send RSTP BPDUs. A port in this mode automatically transits to
the STP mode when it receives STP BPDUs from the peer device, and a port in this mode does not
transit to the MSTP mode when it receives MSTP BPDUs from the peer device.
•
MSTP mode—All ports of the device send MSTP BPDUs. A port in this mode automatically transits
to the STP mode when receiving STP BPDUs from the peer device, and a port in this mode does not
transit to the RSTP mode when receiving RSTP BPDUs from the peer device.
MSTP mode is compatible with RSTP mode, and RSTP mode is compatible with STP mode.
To set the spanning tree mode:
Step Command Remarks
1.
Enter system view.
system-view
N/A
2.
Set the spanning tree mode.
stp mode { mstp | rstp | stp }
The default setting is the
MSTP mode.