Configuring an mst region – H3C Technologies H3C S10500 Series Switches User Manual
Page 89

78
To do...
Use the command...
Remarks
Set the spanning tree mode
stp mode { stp | rstp | mstp | pvst }
Required
MSTP mode by default.
NOTE:
Whether you need to specify the MSTI or VLAN for the spanning tree configuration varies with the
spanning tree modes.
•
In STP-compatible or RSTP mode, do not specify any MSTI or VLAN. Otherwise, the spanning tree
configuration is ineffective.
•
In MSTP mode, if you specify an MSTI, the spanning tree configuration is effective for the specified MSTI.
If you specify a VLAN list, the spanning tree configuration is ineffective. If you do not specify any MSTI
or VLAN, the spanning tree configuration is effective for the CIST.
•
In PVST mode, if you specify a VLAN list, the spanning tree configuration is effective for the specified
VLANs. If you do not specify any VLAN, the spanning tree configuration is ineffective.
Configuring an MST region
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.