87 
Figure 21 Network diagram 
 
 
Configuration procedure 
1.  Configure Device A: 
# Create VLANs 1 and 2, map VLAN 1 to MSTI 1 and VLAN 2 to MSTI 2, and activate MST region 
configuration.  
<DeviceA> system-view 
[DeviceA] vlan 1 to 2 
[DeviceA] stp region-configuration 
[DeviceA-mst-region] instance 1 vlan 1 
[DeviceA-mst-region] instance 2 vlan 2 
[DeviceA-mst-region] active region-configuration 
[DeviceA-mst-region] quit 
# Cancel the physical state change suppression interval setting on GigabitEthernet 1/0/1 and 
GigabitEthernet 1/0/2, disable the spanning tree feature, and set the trusted packet priority type 
to 802.1p priority. Configure the two ports as trunk ports, and assign them to VLAN 1 and VLAN 
2.  
[DeviceA] interface gigabitethernet 1/0/1 
[DeviceA-GigabitEthernet1/0/1] undo link-delay 
[DeviceA-GigabitEthernet1/0/1] undo stp enable 
[DeviceA-GigabitEthernet1/0/1] qos trust dot1p 
[DeviceA-GigabitEthernet1/0/1] port link-type trunk 
[DeviceA-GigabitEthernet1/0/1] port trunk permit vlan 1 2 
[DeviceA-GigabitEthernet1/0/1] quit 
[DeviceA] interface gigabitethernet 1/0/2 
[DeviceA-GigabitEthernet1/0/2] undo link-delay 
[DeviceA-GigabitEthernet1/0/2] undo stp enable 
[DeviceA-GigabitEthernet1/0/2] qos trust dot1p 
[DeviceA-GigabitEthernet1/0/2] port link-type trunk 
[DeviceA-GigabitEthernet1/0/2] port trunk permit vlan 1 2