![H3C S5120-SI Series Command Reference Manual Download Page 92](http://html2.mh-extra.com/html/h3c/s5120-si-series/s5120-si-series_command-reference-manual_3713315092.webp)
81
include
: Displays all lines that match the specified regular expression.
regular-expression
: Specifies a regular expression, which is a case sensitive string of 1 to 256 characters.
Description
Use the
display stp abnormal-port
command to display information about ports blocked by the following
STP protection functions:
•
Root guard function
•
Loop guard function
•
MSTP BPDU format incompatibility protection function
Examples
# Display information about ports blocked by STP protection functions.
<Sysname> display stp abnormal-port
MSTID Blocked Port Reason
1 GigabitEthernet1/0/1 ROOT-Protected
2 GigabitEthernet1/0/2 LOOP-Protected
2 GigabitEthernet1/0/3 Formatcompatibility–Protected
Table 20
Output description
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
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
instance-id
argument ranges from 0 to 15, where 0 represents the CIST.
|
: Filters command output by specifying a regular expression. For more information about regular
expressions, see the
Fundamentals Configuration Guide
.
begin
: Displays the first line that matches the specified regular expression and all lines that follow.