
47
Field Description
Forward delay(s)
Port state transition delay (in seconds).
Hello time(s)
Interval (in seconds) for the root bridge to send BPDUs.
Max hops
Maximum hops in the MSTI.
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
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.
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 GigabitEthernet1/0/1 ROOT-Protected
2 GigabitEthernet1/0/2 LOOP-Protected
Table 13
Command output
Field Description
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.