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