118
Field Description
BlockReason
Reason that the port was blocked:
• Root-Protected—Root guard feature.
• Loop-Protected—Loop guard feature.
• Loopback-Protected—Self-loop protection. A port in the MSTI receives a
BPDU sent by itself.
• Disputed—Dispute guard. A port receives a low-priority BPDU from a
non-blocked designated port in forwarding or learning state.
• InconsistentPortType-Protected—Inconsistent port type protection.
• InconsistentPvid-Protected—Inconsistent PVID protection.
Time Protection feature trigger time.
display stp bpdu-statistics
Use display stp bpdu-statistics to display the BPDU statistics for 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: Specifies an interface by its type and
number.
instance instance-list
: Specifies a space-separated list of up to 10 MSTI items. Each item
specifies an MSTI or a range of MSTIs in the form of
instance-id1 [ to instance-id2 ]. The
value for
instance-id2 must be equal to or greater than the value for instance-id1. The
value range for the
instance-id argument is 0 to 4094, and the value 0 represents the CIST.
Usage guidelines
In MSTP mode, the command output is sorted by port name and by MSTI ID on each port.
• If you do not specify an MSTI or port, this command applies to all MSTIs on all ports.
• If you specify a port but not an MSTI, this command applies to all MSTIs on the port.
• If you specify both an MSTI ID and a port, this command applies to the specified MSTI on the
port.
In STP, RSTP, or PVST mode, the command output is sorted by port name.
• If you do not specify a port, this command applies to all ports.
• If you specify a port, this command applies to the port.
Examples
# In MSTP mode, display the BPDU statistics for all MSTIs on GigabitEthernet 1/0/1.
<Sysname> display stp bpdu-statistics interface gigabitethernet 1/0/1
Port: GigabitEthernet1/0/1