1-48
[SwitchA] stp instance 1 root primary
2) Configure Switch B
# Enter MST region view.
<SwitchB> system-view
[SwitchB] stp region-configuration
# Configure the region name, VLAN-to-MSTI mapping table, and revision level for the MST region.
[SwitchB-mst-region] region-name example
[SwitchB-mst-region] instance 1 vlan 10
[SwitchB-mst-region] instance 3 vlan 30
[SwitchB-mst-region] instance 4 vlan 40
[SwitchB-mst-region] revision-level 0
# Activate the settings of the MST region manually.
[SwitchB-mst-region] active region-configuration
# Specify Switch B as the root bridge of spanning tree instance 3.
[SwitchB] stp instance 3 root primary
3) Configure Switch C.
# Enter MST region view.
<SwitchC> system-view
[SwitchC] stp region-configuration
# Configure the MST region.
[SwitchC-mst-region] region-name example
[SwitchC-mst-region] instance 1 vlan 10
[SwitchC-mst-region] instance 3 vlan 30
[SwitchC-mst-region] instance 4 vlan 40
[SwitchC-mst-region] revision-level 0
# Activate the settings of the MST region manually.
[SwitchC-mst-region] active region-configuration
# Specify Switch C as the root bridge of spanning tree instance 4.
[SwitchC] stp instance 4 root primary
4) Configure Switch D
# Enter MST region view.
<SwitchD> system-view
[SwitchD] stp region-configuration
# Configure the MST region.
[SwitchD-mst-region] region-name example
[SwitchD-mst-region] instance 1 vlan 10
[SwitchD-mst-region] instance 3 vlan 30
[SwitchD-mst-region] instance 4 vlan 40
[SwitchD-mst-region] revision-level 0
# Activate the settings of the MST region manually.
[SwitchD-mst-region] active region-configuration