94
Description
Use
display stp abnormal-port
to display information about ports blocked by spanning tree
protection functions.
Examples
# In MSTP mode, display information about ports blocked by spanning tree protection functions.
<Sysname> display stp abnormal-port
MSTID Blocked Port Reason
1 Ethernet1/0/1 ROOT-Protected
2 Ethernet1/0/2 LOOP-Protected
2 Ethernet1/0/3 Formatcompatibility–Protected
# In PVST mode, display information about ports blocked by spanning tree protection functions.
<Sysname> system-view
[Sysname] stp mode pvst
[Sysname] display stp abnormal-port
VLAN Blocked Port Reason
1 Ethernet1/0/1 ROOT-Protected
2 Ethernet1/0/2 LOOP-Protected
2 Ethernet1/0/3 Formatcompatibility–Protected
Table 24 Command output
Field Description
Blocked Port
Name of a blocked port, which corresponds to the related MSTI or VLAN.
Reason
Reason that the port was blocked:
•
ROOT-Protected
—Root guard function.
•
LOOP-Protected
—Loop guard function.
•
Formatcompatibility-Protected
—MSTP BPDU format incompatibility
protection function.
•
InconsistentPortType-Protected
—Port type inconsistent protection
function.
•
InconsistentPvid-Protected
—PVID inconsistent protection function.
display stp bpdu-statistics
Syntax
display stp bpdu-statistics
[
interface interface-type interface-number
[
instance instance-id
] ] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
View
Any view
Default level
1: Monitor level
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-id
: Displays the BPDU statistics of a specified MSTI on a specified port. The value
of
instance-id
ranges from 0 to 16, where 0 represents the CIST.