Setting the spanning tree mode, Configuring an mst region – H3C Technologies H3C WX5500E Series Access Controllers User Manual
Page 82

71
Task Remarks
Configuring the mode a port uses to recognize and
send MSTP packets
Optional.
Enabling outputting port state transition information
Optional.
Enabling the spanning tree feature
Required.
Optional.
Optional.
Configuring no agreement check
Optional.
Configuring protection functions
Optional.
Setting the spanning tree mode
The spanning tree includes the following modes:
•
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 router send RSTP BPDUs. When an RSTP port receives STP BPDUs from
a peer device, it automatically transitions to the STP mode. When an RSTP port receives MSTP
BPDUs from a peer device, it stays in RSTP mode.
•
MSTP mode—All ports of the router send MSTP BPDUs. When an MSTP port receives STP BPDUs
from a peer device, it automatically transitions to the STP mode. When an MSTP port receives RSTP
BPDUs from a peer device, it stays in MSTP mode.
•
PVST mode—All ports of the device send PVST BPDUs and maintain a spanning tree for each
VLAN.
The MSTP mode is compatible with the RSTP mode, and the RSTP mode is compatible with the STP mode.
The PVST mode's compatibility with the other spanning tree mode varies by port type:
•
On an access port, the PVST mode is compatible with any other spanning tree mode in any VLAN.
•
On a trunk or hybrid port, the PVST mode is compatible with any other spanning tree mode in only
VLAN 1.
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 | pvst | rstp | stp }
The default setting is MSTP
mode.
Configuring an MST region
This section describes how to configure an MST region.