1
1
4
# Display brief spanning tree information on Device D.
[DeviceD] display stp brief
MST ID
0
0
0
3
3
4
Based on the output, you can draw each MSTI mapped to each VLAN, as shown in
Figure 39 MSTIs mapped to different VLANs
C
MSTI 1 mapped to VLAN 10
MSTI 3 mapped to VLAN 30
PVST configuration example
Network requirements
As shown in
Device D work at the access layer.
Configure PVST to meet the following requirements:
•
Frames of a VLAN are forwarded along the spanning trees of the VLAN.
•
VLAN 10, VLAN 20, and VLAN 30 are terminated on the distribution layer devices, and VLAN
40 is terminated on the access layer devices.
•
The root bridge of VLAN 10 and VLAN 20 is Device A.
•
The root bridge of VLAN 30 is Device B.
•
The root bridge of VLAN 40 is Device C.
GigabitEthernet1/0/1
GigabitEthernet1/0/2
GigabitEthernet1/0/3
Port
GigabitEthernet1/0/1
GigabitEthernet1/0/2
GigabitEthernet1/0/3
GigabitEthernet1/0/1
GigabitEthernet1/0/2
GigabitEthernet1/0/3
A
B
A
B
Root bridge
Normal link
Figure
40, Device A and Device B work at the distribution layer, and Device C and
ROOT
FORWARDING
ALTE
DISCARDING
DESI
FORWARDING
Role
STP State
ROOT
FORWARDING
ALTE
DISCARDING
ALTE
DISCARDING
ROOT
FORWARDING
ALTE
DISCARDING
ROOT
FORWARDING
A
C
MSTI 0 mapped to VLAN 20
D
C
MSTI 4 mapped to VLAN 40
114
NONE
NONE
NONE
Protection
NONE
NONE
NONE
NONE
NONE
NONE
Figure
B
D
D
Blocked link
39.