beautypg.com

H3C Technologies H3C S3100 Series Switches User Manual

Page 222

background image

Operation Manual – MSTP
H3C S3100-52P Ethernet Switch

Chapter 1 MSTP Configuration

1-47

# Configure the MST region.

[H3C-mst-region] region-name example

[H3C-mst-region] instance 1 vlan 10

[H3C-mst-region] instance 3 vlan 30

[H3C-mst-region] instance 4 vlan 40

[H3C-mst-region] revision-level 0

# Activate the settings of the MST region manually.

[H3C-mst-region] active region-configuration

# Specify Switch B as the root bridge of spanning tree instance 3.

[H3C] stp instance 3 root primary

3) Configure Switch C.

# Enter MST region view.

system-view

[H3C] stp region-configuration

# Configure the MST region.

[H3C-mst-region] region-name example

[H3C-mst-region] instance 1 vlan 10

[H3C-mst-region] instance 3 vlan 30

[H3C-mst-region] instance 4 vlan 40

[H3C-mst-region] revision-level 0

# Activate the settings of the MST region manually.

[H3C-mst-region] active region-configuration

# Specify Switch C as the root bridge of spanning tree instance 4.

[H3C] stp instance 4 root primary

4) Configure Switch D

# Enter MST region view.

system-view

[H3C] stp region-configuration

# Configure the MST region.

[H3C-mst-region] region-name example

[H3C-mst-region] instance 1 vlan 10

[H3C-mst-region] instance 3 vlan 30

[H3C-mst-region] instance 4 vlan 40

[H3C-mst-region] revision-level 0

# Activate the settings of the MST region manually.

[H3C-mst-region] active region-configuration