3Com 4500 Switch User Manual


 
1-18
Configuration example
# Configure an MST region named info, the MSTP revision level being level 1, VLAN 2 through VLAN
10 being mapped to MSTI 1, and VLAN 20 through VLAN 30 being mapped to MSTI 2.
<Sysname> system-view
[Sysname] stp region-configuration
[Sysname-mst-region] region-name info
[Sysname-mst-region] instance 1 vlan 2 to 10
[Sysname-mst-region] instance 2 vlan 20 to 30
[Sysname-mst-region] revision-level 1
[Sysname-mst-region] active region-configuration
# Verify the above configuration.
[Sysname-mst-region] check region-configuration
Admin configuration
Format selector :0
Region name :info
Revision level :1
Instance Vlans Mapped
0 1, 11 to 19, 31 to 4094
1 2 to 10
2 20 to 30
Specifying the Current Switch as a Root Bridge/Secondary Root Bridge
MSTP can automatically choose a switch as a root bridge through calculation. You can also manually
specify the current switch as a root bridge by using the corresponding commands.
Specify the current switch as the root bridge of a spanning tree
Follow these steps to specify the current switch as the root bridge of a spanning tree:
To do... Use the command... Remarks
Enter system view
system-view
Specify the current switch as
the root bridge of a spanning
tree
stp [ instance instance-id ] root primary
[ bridge-diameter bridgenumber [ hello-time
centi-seconds ] ]
Required
Specify the current switch as the secondary root bridge of a spanning tree
Follow these steps to specify the current switch as the secondary root bridge of a spanning tree:
To do... Use the command... Remarks
Enter system view
system-view
Specify the current switch as
the secondary root bridge of a
specified spanning tree
stp [ instance instance-id ] root
secondary [ bridge-diameter
bridgenumber [ hello-time
centi-seconds ] ]
Required