beautypg.com

Ii. configuration example – H3C Technologies H3C S3100 Series Switches User Manual

Page 185

background image

Operation Manual – MSTP
H3C S3100-52P Ethernet Switch

Chapter 1 MSTP Configuration

1-10

Note:

Switches belong to the same MST region only when they have the same MST region
name, VLAN mapping table, and MSTP revision level.

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.

system-view

[H3C] stp region-configuration

[H3C-mst-region] region-name info

[H3C-mst-region] instance 1 vlan 2 to 10

[H3C-mst-region] instance 2 vlan 20 to 30

[H3C-mst-region] revision-level 1

[H3C-mst-region] active region-configuration

# Verify the above configuration.

[H3C-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 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.