82
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, which is a case sensitive string of 1 to 256 characters.
Description
Use the
display stp bpdu-statistics
command to display the BPDU statistics on port(s).
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
specified 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 a specified MSTI
on a specified port.
Examples
# 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
--------------------------- ---------- -----------------
Invalid BPDUs 0
Looped-back BPDUs 0
MAX-aged BPDUs 0
TCN sent 0
TCN received 0
TCA sent 0
TCA received 2 10:33:12 01/13/2010
Config sent 0
Config received 0
RST sent 0
RST received 0
MST sent 4 10:33:11 01/13/2010
MST received 151 10:37:43 01/13/2010
Instance 0:
Type Count Last Updated
--------------------------- ---------- -----------------
Timeout BPDUs 0
MAX-hoped BPDUs 0
TC detected 1 10:32:40 01/13/2010
TC sent 3 10:33:11 01/13/2010
TC received 0
Instance 1: