Configuration procedure
VLAN and VLAN member port configuration
1.
Create VLAN 10, VLAN 20, and VLAN 30 on Router A and Router B, respectively, create VLAN 10,
VLAN 20, and VLAN 40 on Router C, and create VLAN 20, VLAN 30, and VLAN 40 on Router D.
Configure the ports on these routers as trunk ports and assign them to related VLANs. The detailed
configuration procedure is omitted.
Configuration on Router A
2.
# 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.
<RouterA> system-view
[RouterA] stp region-configuration
[RouterA-mst-region] region-name example
[RouterA-mst-region] instance 1 vlan 10
[RouterA-mst-region] instance 3 vlan 30
[RouterA-mst-region] instance 4 vlan 40
[RouterA-mst-region] revision-level 0
# Activate MST region configuration.
[RouterA-mst-region] active region-configuration
[RouterA-mst-region] quit
# Specify the current Router as the root bridge of MSTI 1.
[RouterA] stp instance 1 root primary
# Enable MSTP globally.
[RouterA] stp enable
Configuration on Router B
3.
# 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.
<RouterB> system-view
[RouterB] stp region-configuration
[RouterB-mst-region] region-name example
[RouterB-mst-region] instance 1 vlan 10
[RouterB-mst-region] instance 3 vlan 30
[RouterB-mst-region] instance 4 vlan 40
[RouterB-mst-region] revision-level 0
# Activate MST region configuration.
[RouterB-mst-region] active region-configuration
[RouterB-mst-region] quit
# Specify the current router as the root bridge of MSTI 3.
[RouterB] stp instance 3 root primary
# Enable MSTP globally.
[RouterB] stp enable
77