R3303-HP 6600/HSR6600 Routers Layer 2 - LAN Switching Command Reference

49
display stp abnormal-port
Use display stp abnormal-port to display information about ports blocked by spanning tree protection
functions.
Syntax
display stp abnormal-port [ | { begin | exclude | include } regular-expression ]
Views
Any view
Default command level
1: Monitor level
Parameters
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Examples
# In MSTP mode, display information about ports blocked by spanning tree protection functions.
<Sysname> display stp abnormal-port
MSTID Blocked Port Reason
1 GigabitEthernet4/0/1 ROOT-Protected
2 GigabitEthernet4/0/2 LOOP-Protected
2 GigabitEthernet4/0/3 Formatcompatibility–Protected
Table 14 Command output
Field Descri
p
tion
Blocked Port Name of a blocked port, which corresponds to the related MSTI or VLAN.
Reason
Reason 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.
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-id ] ] [ | { begin
| exclude | include } regular-expression ]