Operation Manual – MSTP
Quidway S3100 Series Ethernet Switches
Chapter 1 MSTP Configuration
Huawei Technologies Proprietary
1-10
II. Configuration example
# Configure an MST region, with the name being “info”, the MSTP revision level being
level 1, VLAN 2 through VLAN 10 being mapped to spanning tree instance 1, and VLAN
20 through VLAN 30 being mapped to spanning tree 2.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] stp region-configuration
[Quidway-mst-region] region-name info
[Quidway-mst-region] instance 1 vlan 2 to 10
[Quidway-mst-region] instance 2 vlan 20 to 30
[Quidway-mst-region] revision-level 1
[Quidway-mst-region] active region-configuration
# Verify the above configuration.
[Quidway-mst-region] check region-configuration
Admin configuration
Format selector :0
Region name :info
Revision level :1
Instance Vlans Mapped
0 11 to 19, 31 to 4094
1 1 to 10
2 20 to 30
1.2.3 Root Bridge/Secondary Root Bridge Configuration
MSTP can automatically choose a switch as a root bridge. You can also manually
specify the current switch as a root bridge by using the corresponding commands.
I. Root bridge configuration
Table 1-4
Specify the current switch as the root bridge of a specified spanning tree
Operation
Command
Description
Enter system view
system-view
—
Specify the current
switch as the root
bridge of a
specified spanning
tree
stp
[
instance
instance-id
]
root primary
[
bridge-diameter
bridgenum
] [
hello-time
centi-seconds
]
Required