4-17
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 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 configurations
of currently activated MST
regions
display stp region-configuration
The display command can
be executed in any view.
z 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, the same
VLAN-to-instance mapping entries in the MST region and the same MST region revision level, and
they are interconnected via a physical link.
z The configuration of MST region–related parameters, especially the VLAN-to-instance mapping
table, will cause MSTP to launch a new spanning tree calculation process, which may result in
network topology instability. To reduce the possibility of topology instability caused by
configuration, MSTP will not immediately launch a new spanning tree calculation process when
processing MST region–related configurations; instead, such configurations will take effect only
after you activate the MST region–related parameters using the active region-configuration
command, or enable MSTP using the stp enable command in the case that MSTP is not enabled.