R21xx-HP FlexFabric 11900 Layer 2 LAN Switching Configuration Guide
72
• MSTP mode—All ports of the device send MSTP BPDUs. A port in this mode automatically transits
to the STP mode when receiving STP BPDUs from the peer device, and a port in this mode does not
transit to the RSTP mode when receiving RSTP BPDUs from the peer device.
MSTP mode is compatible with RSTP mode, and RSTP mode is compatible with STP 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 { mstp | rstp | stp }
The default setting is the
MSTP mode.
NOTE:
• In STP or RSTP mode, do not specify an MSTI. Otherwise, the spanning tree configuration does not
take effect.
• In MSTP mode, if you specify an MSTI, the spanning tree configuration takes effect on the specified
MSTI. If you do not specify an MSTI, the spanning tree configuration takes effect on the CIST.
Configuring an MST region
Two or more spanning tree 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, MST region revision level, and
the same VLAN-to-instance mapping entries in the MST region, and they are connected through a
physical link.
The configuration of MST region-related parameters (especially the VLAN-to-instance mapping table)
might cause MSTP to begin a new spanning tree calculation. To reduce the possibility of topology
instability, the MST region configuration takes effect only after you activate it by using the active
region-configuration command, or enable a spanning tree protocol by using the stp global enable
command if the spanning tree protocol is disabled.
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
The default setting is the MAC
address.
4. Configure the
VLAN-to-instance mapping
table.
• instance instance-id vlan
vlan-list
• vlan-mapping modulo modulo
Use one of the commands.
By default, all VLANs in an MST
region are mapped to the CIST (or
MSTI 0).
5. Configure the MSTP revision
level of the MST region.
revision-level level The default setting is 0.
6. (Optional.) Display the MST
region configurations that are
not activated yet.
check region-configuration N/A










