89
Display information about ports blocked
by STP protection functions
display stp down-port [ | { begin |
exclude | include } regular-expression ]
Display the historical information of port
role calculation for the specified MSTI or
all MSTIs
display stp [ instance instance-id ] history
[ slot slot-number ] [ | { begin | exclude
| include } regular-expression ]
Display 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 [
slot slot-number ] [ | { begin | exclude |
include } regular-expression ]
Display the status and statistics of MSTP
display stp [ instance instance-id ] [
interface interface-list | slot slot-number ]
[ brief ] [ | { begin | exclude | include }
regular-expression ]
Display the MST region configuration
information that has taken effect
display stp region-configuration [ | {
begin | exclude | include } regular-
expression ]
Display the root bridge information of
all MSTIs
display stp root [ | { begin | exclude |
include } regular-expression ]
Clear the statistics of MSTP
reset stp [ interface interface-list ]
MSTP configuration example
Network requirements
As shown in Figure 25:
All devices on the network are in the same MST region. Device A and Device B work on the
distribution layer. Device C and Device D work on the access layer.
Configure MSTP so that packets of different VLANs are forwarded along different spanning trees:
Packets of VLAN 10 are forwarded along MSTI 1, those of VLAN 30 are forwarded along MSTI 3,
those of VLAN 40 are forwarded along MSTI 4, and those of VLAN 20 are forwarded along MSTI
0.
VLAN 10 and VLAN 30 are terminated on the distribution layer devices, and VLAN 40 is
terminated on the access layer devices. The root bridges of MSTI 1 and MSTI 3 are Device A and
Device B respectively, and the root bridge of MSTI 4 is Device C.