Configuring MSTP
Configuring an MST region
Make the following configurations on the root bridge and on the leaf nodes separately.
Follow these steps to configure an MST region:
To do...
Use the command...
Remarks
Enter system view
system-view
—
Enter MST region view
stp region-configuration
—
Configure the MST region name
region-name
name
Optional
The MST region name is the MAC
address by default.
instance
instance-id
vlan
vlan-list
Configure the VLAN-to-instance
mapping table
vlan-mapping modulo
modulo
Optional
Use either command.
All VLANs in an MST region are
mapped to the CIST (or MSTI 0) by
default.
Configure the MSTP revision level
of the MST region
revision-level
level
Optional
0 by default.
Display the MST region
configurations that are not
activated yet
check region-configuration
Optional
Activate MST region configuration
manually
active region-configuration
Required
Display the activated configuration
information of the MST region
display stp region-configuration
[
|
{
begin
|
exclude
|
include
}
regular-expression
]
Optional
Available in any view
NOTE:
•
Two or more MSTP-enabled devices belong to the same MST region only if they are configured to have
the same format selector (0 by default, not configurable), MST region name, VLAN-to-instance mapping
entries in the MST region, and MST region revision level, and they are connected via a physical link.
•
The configuration of MST region–related parameters, especially the VLAN-to-instance mapping table,
will cause MSTP to begin a new spanning tree calculation process, which might result in network
topology instability. To reduce the possibility of topology instability caused by configuration, MSTP does
not immediately begin a new spanning tree calculation process when it is processing MST
region–related configurations. Instead, such configurations takes effect only after you activate the MST
region–related parameters by using the
active region-configuration
command, or enable MSTP by
using the
stp enable
command if MSTP is disabled.
61