R3303-HP HSR6800 Routers Layer 2 - LAN Switching Command Reference
58
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 STP or RSTP mode, the displayed information is sorted by port name.
In MSTP mode, follow these guidelines:
• If you do not specify any MSTI, this command displays the statistics of TC/TCN BPDUs received and
sent by all ports in all MSTIs. The displayed information is sorted by instance ID and by port name
in each MSTI.
• If you specify an MSTI, this command displays the statistics of TC/TCN BPDUs received and sent by
all ports in the specified MSTI, in port name order.
Examples
In standalone mode :
# In MSTP mode, display the statistics of TC/TCN BPDUs received and sent by all ports in MSTI 0 on the
card in slot 4.
<Sysname> display stp instance 0 tc slot 4
-------------- STP slot 4 TC or TCN count -------------
MSTID Port Receive Send
0 GigabitEthernet4/0/1 6 4
0 GigabitEthernet4/0/2 0 2
In IRF mode :
# In MSTP mode, display the statistics of TC/TCN BPDUs received and sent by all ports in MSTI 0 on the
card in slot 1 of IRF member 1.
<Sysname> display stp instance 0 tc chassis 1 slot 1
--------- STP chassis 1 slot 1 TC or TCN count --------
MSTID Port Receive Send
0 Ten-GigabitEthernet1/0/1 6 4
0 Ten-GigabitEthernet1/0/2 0 2
Table 20 Command output
Field Description
Port Port name.
Receive Number of TC/TCN BPDUs received on each port.
Send Number of TC/TCN BPDUs sent by each port.
instance
Use instance to map a list of VLANs to the specified MSTI.
Use undo instance to remap the specified VLAN or all VLANs to the CIST (MSTI 0).
Syntax
instance instance-id vlan vlan-list