beautypg.com

H3C Technologies H3C WX3000E Series Wireless Switches User Manual

Page 98

background image

88

[AC-mst-region] revision-level 0

# Activate MST region configuration.

[AC-mst-region] active region-configuration

[AC-mst-region] quit

# Specify the current device as the root bridge of MSTI 4.

[AC] stp instance 4 root primary

# Enable the spanning tree feature globally.

[AC] stp enable

5.

Configure Device C:
# Enter MST region view, configure the MST region name as example, map VLAN 10, VLAN 30,
and VLAN 40 to MSTI 1, MSTI 3, and MSTI 4 respectively, and configure the revision level of the

MST region as 0.

system-view

[DeviceC] stp region-configuration

[DeviceC-mst-region] region-name example

[DeviceC-mst-region] instance 1 vlan 10

[DeviceC-mst-region] instance 3 vlan 30

[DeviceC-mst-region] instance 4 vlan 40

[DeviceC-mst-region] revision-level 0

# Activate MST region configuration.

[DeviceC-mst-region] active region-configuration

[DeviceC-mst-region] quit

# Enable the spanning tree feature globally.

[DeviceC] stp enable

6.

Verify the configuration:

NOTE:

In this example, suppose Device B has the lowest device ID, and as a result, Device B will be elected as the
root bridge in MSTI 0.

You can use the display stp brief command to display brief spanning tree information on each

device after the network is stable.
# Display brief spanning tree information on Device A.

[DeviceA] display stp brief

MSTID Port Role STP State Protection

0 Ethernet1/1 ALTE DISCARDING NONE

0 Ethernet1/2 DESI FORWARDING NONE

0 Ethernet1/3 ROOT FORWARDING NONE

1 Ethernet1/1 DESI FORWARDING NONE

1 Ethernet1/3 DESI FORWARDING NONE

3 Ethernet1/2 DESI FORWARDING NONE

3 Ethernet1/3 ROOT FORWARDING NONE

# Display brief spanning tree information on Device B.

[DeviceB] display stp brief

MSTID Port Role STP State Protection

0 Ethernet1/1 DESI FORWARDING NONE

0 Ethernet1/2 DESI FORWARDING NONE