STP-compatible mode—The router sends out STP BPDUs through all ports.
•
RSTP mode—The router sends out RSTP BPDUs through all ports, and ports that connect to STP
•
devices automatically transitions to the STP-compatible mode.
MSTP mode—The router sends out MSTP BPDUs through all ports, and ports that connect to STP
•
devices automatically transitions to the STP-compatible mode.
To set the spanning tree mode:
Step
1.
Enter system view.
2.
Set the spanning tree mode.
Configuring an MST region
To configure an MST region:
Step
1.
Enter system view.
2.
Enter MST region view.
3.
Configure the MST region
name.
4.
Configure the
VLAN-to-instance mapping
table.
5.
Configure the MSTP revision
level of the MST region.
6.
Display the MST region
configurations that are not
activated yet.
7.
Activate MST region
configuration manually.
8.
Display the activated
configuration information of
the MST region.
Command
system-view
stp mode { stp | rstp | mstp }
Command
system-view
stp region-configuration
region-name name
•
instance instance-id vlan
vlan-list
•
vlan-mapping modulo modulo
revision-level level
check region-configuration
active region-configuration
display stp region-configuration [ |
{ begin | exclude | include }
regular-expression ]
42
Remarks
N/A
The default setting is MSTP
mode.
Remarks
N/A
N/A
Optional.
The MST region name is the MAC
address by default.
Optional.
Use either command.
All VLANs in an MST region are
mapped to the CIST (or MSTI 0) by
default.
Optional.
The default setting is 0.
Optional.
N/A
Optional.
Available in any view