77
Figure 20 Network diagram
Configuration procedure
1. Configure Device A:
# Create VLANs 1 through 30, map these VLANs to MSTI 1, and activate the MST region
configuration.
<DeviceA> system-view
[DeviceA] vlan 1 to 30
[DeviceA] stp region-configuration
[DeviceA-mst-region] instance 1 vlan 1 to 30
[DeviceA-mst-region] active region-configuration
[DeviceA-mst-region] quit
# Cancel the physical state change suppression interval setting on GigabitEthernet 1/0/1 through
GigabitEthernet 1/0/4, disable the spanning tree feature, and set the trusted packet priority type
to 802.1p priority. Configure the four ports as trunk ports, and assign them to VLANs 1 through
30.
[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 to 30
[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 to 30
[DeviceA-GigabitEthernet1/0/2] quit
GE1/0
/2
GE1/
0/1
GE1/
0/
1
GE1/0/
2
GE1/0/3
G
E1/
0/4
GE1/0/
4
GE1/0/3