![HP 3100 v2 Series Command Reference Manual Download Page 110](http://html.mh-extra.com/html/hp/3100-v2-series/3100-v2-series_command-reference-manual_165751110.webp)
103
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.
In PVST mode, follow these guidelines:
•
If you do not specify any VLAN, this command displays the statistics of TC/TCN BPDUs
received and sent by all ports in all VLANs. The displayed information is sorted by VLAN ID and
by port name in each VLAN.
•
If you specify a VLAN, this command displays the statistics of TC/TCN BPDUs received and
sent by all ports in the specified VLAN, in port name order.
Examples
# In MSTP mode, display the statistics of TC/TCN BPDUs received and sent by all ports in MSTI 0.
<Sysname> display stp instance 0 tc slot 1
-------------- STP slot 1 TC or TCN count -------------
MSTID Port Receive Send
0 Ethernet1/0/1 6 4
0 Ethernet1/0/2 0 2
# In PVST mode, display the statistics of TC/TCN BPDUs received and sent by all ports in VLAN 2.
<Sysname> system-view
[Sysname] stp mode pvst
[Sysname] display stp vlan 2 tc slot 1
-------------- STP slot 1 TC or TCN count -------------
VLAN Port Receive Send
2 Ethernet1/0/1 6 4
2 Ethernet1/0/2 0 2
Table 30 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
Syntax
instance
instance-id
vlan
vlan-list
undo instance
instance-id
[
vlan
vlan-list
]
View
MST region view