R3721-F3210-F3171-HP High-End Firewalls Network Management Command Reference-6PW101
78
display stp abnormal-port
Syntax
display stp abnormal-port [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see Getting Started 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.
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 GigabitEthernet0/1 ROOT-Protected
2 GigabitEthernet0/2 LOOP-Protected
2 GigabitEthernet0/3 Formatcompatibility–Protected
Table 18 Command output
Field Descri
p
tion
Blocked Port Name of a blocked port, which corresponds to the related MSTI.
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 ]