![H3C S5120-SI Series Operation Manual Download Page 182](http://html2.mh-extra.com/html/h3c/s5120-si-series/s5120-si-series_operation-manual_3711174182.webp)
1-42
We recommend that you keep this feature enabled.
Displaying and Maintaining MSTP
To do...
Use the command...
Remarks
View information about abnormally
blocked ports
display stp abnormal-port
Available in any view
View information about ports blocked
by STP protection functions
display stp down-port
Available in any view
View the historical information of port
role calculation for the specified MSTI
or all MSTIs
display stp
[
instance
instance-id
]
history
Available in any view
View the statistics of TC/TCN BPDUs
sent and received by all ports in the
specified MSTI or all MSTIs
display stp
[
instance
instance-id
]
tc
Available in any view
View the status information and
statistics information of MSTP
display stp
[
instance
instance-id
] [
interface
interface-list
]
[
brief
]
Available in any view
View the MST region configuration
information that has taken effect
display stp region-configuration
Available in any view
View the root bridge information of all
MSTIs
display stp root
Available in any view
View the list of VLANs with VLAN
Ignore enabled
display stp ignored-vlan
Available in any view
Clear the statistics information of
MSTP
reset stp
[
interface
interface-list
] Available in user view
MSTP Configuration Example
Network requirements
Configure MSTP so that packets of different VLANs are forwarded along different spanning trees. The
specific configuration requirements are as follows:
z
All devices on the network are in the same MST region.
z
Packets of VLAN 10 are forwarded along MSTI 1, those of VLAN 20 are forwarded along MSTI 2,
those of VLAN 30 are forwarded along MSTI 3, and those of VLAN 40 are forwarded along MSTI 0.
z
Device A and Device B are distribution layer devices, while Device C and Device D are access
layer devices. VLAN 10 and VLAN 30 are terminated on the distribution layer devices, and VLAN
20 is terminated on the access layer devices, so the root bridges of MSTI 1 and MSTI 3 are Device
A and Device B respectively, while the root bridge of MSTI 2 is Device C.