R3102-R3103-HP 6600/HSR6600 Routers Layer 2 - LAN Switching Command Reference

50
Views
Any view
Default command level
1: Monitor level
Parameters
interface interface-type interface-number: Displays the BPDU statistics on the specified port, where
interface-type interface-number indicates the port type and number.
instance instance-id: Displays the BPDU statistics of the specified MSTI on the specified port. The
minimum value of instance-id is 0, representing 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.
Usage guidelines
In MSTP mode:
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:
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 4/0/1.
<Sysname> display stp bpdu-statistics interface GigabitEthernet 4/0/1
Port: GigabitEthernet4/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