Examples
# In MSTP mode, display information about ports that are blocked by spanning tree protection functions.
<Sysname> display stp abnormal-port
MSTID
1
2
12
Table 23 Command output
Field
MSTID
Blocked Port
Reason
display stp bpdu-statistics
Use display stp bpdu-statistics to display the BPDU statistics on ports.
Syntax
display stp bpdu-statistics [ interface interface-type interface-number [ instance instance-list ] ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
interface interface-type interface-number: Displays the BPDU statistics on a specified port, where
interface-type interface-number indicates the port type and number.
instance instance-list: Displays the BPDU statistics of the MSTIs that are specified by an instance list, in the
format of instance-list = { instance-id [ to instance-id ] }&<1- 1 0>, where &<1- 1 0> indicates that you can
specify up to 10 instances or instance ranges. The value range for the instance-id argument is 0 to 4094,
and the value 0 represents the CIST.
Usage guidelines
In MSTP mode:
If you do not specify any MSTI or port, this command displays the BPDU statistics of all MSTIs on all
•
ports. The displayed information is sorted by port name and by MSTI ID on each port.
Blocked Port
FortyGigE1/1/1
FortyGigE1/1/2
FortyGigE1/1/3
Description
MSTI of the blocked port.
Name of a blocked port.
Reason that the port was blocked:
•
Root-Protected—Root guard function.
•
Loop-Protected—Loop guard function.
•
Loopback-Protected—Self-loop protection. A port in the MSTI receives a BPDU that
it sends.
•
Disputed—Dispute protection. A port receives a low-priority BPDU from a
non-blocked designated port.
Reason
Root-Protected
Loop-Protected
Loopback-Protected
102