
48
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
specifies the port by its 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
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 bpdu-statistics
to display the BPDU statistics on ports.
In MSTP mode, follow these guidelines:
•
If you do not specify any MSTI or port, this command displays the BPDU statistics of all MSTIs on all
ports. The displayed information is sorted by port name and by MSTI ID on each port.
•
If you specify a port but not an MSTI, this command displays the BPDU statistics of all MSTIs on the
port. The displayed information is sorted by MSTI ID.
•
If you specify both an MSTI ID and a port, this command displays the BPDU statistics of the specified
MSTI on the port.
In STP or RSTP mode, follow these guidelines:
•
If you do not specify any port, this command displays the BPDU statistics of on all ports. The
displayed information is sorted by port name.
•
If you specify a port, this command displays the BPDU statistics on the port.
Examples
# In MSTP mode, display the BPDU statistics of all MSTIs on GigabitEthernet 1/0/1.
<Sysname> display stp bpdu-statistics interface gigabitethernet 1/0/1
Port: GigabitEthernet1/0/1
Instance-independent:
Type Count Last Updated