display stp tc
Syntax
display stp [ instance instance-id ] tc [ slot slot-number ] [ | { begin | exclude | include }
regular-expression ]
View
Any view
Default level
0: Visit level
Parameters
instance instance-id: Displays the statistics of TC/TCN BPDUs received and sent by all ports in a
particular MSTI. The value of instance-id ranges from 0 to 32, where 0 represents the CIST.
slot slot-number: Displays the statistics of TC/TCN BPDUs received and sent by all ports on the specified
IRF member switch. slot-number represents the member number of the device in the IRF. If this
keyword-argument combination is not specified, this command displays the statistics of TC/TCN BPDUs
received and sent by all ports on all IRF member switches.
|: 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 tc to display the statistics of TC/TCN BPDUs received and sent by all ports in an MSTI or
all MSTIs.
In STP/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 MSTP mode, display the statistics of TC/TCN BPDUs received and sent by all ports on IRF member
switch 1 in MSTI 0.
<Sysname> display stp instance 0 tc slot 1
-------------- STP slot 1 TC or TCN count -------------
MSTID
0
0
Port
GigabitEthernet1/0/1
GigabitEthernet1/0/2
Receive
Send
6
4
0
2
102