
107
Field Description
IntPathCost
Internal path cost. The switch automatically calculates the default path cost of a
port, or alternatively, you can use the
stp cost
command to configure the path cost
of a port.
Root Port
Root port name (displayed only if a port of the switch is the root port of MSTIs).
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
instance-id
argument ranges from 0 to 16, 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 device.
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 devices. If the switch does not support IRF, the
slot-number argument must be 1.
|
: Filters command output by specifying a regular expression. For more information about regular
expressions, see the
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, which is a case sensitive string of 1 to 256 characters.
Description
Use the
display stp tc
command to display the statistics of TC/TCN BPDUs received and sent by all ports
in an MSTI or all MSTIs.
If you do not specify an MSTI ID, this command will display 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 ID, this command will display the statistics of TC/TCN BPDUs received and sent
by all ports in the specified MSTI, in port name order.
Examples
# Display the statistics of TC/TCN BPDUs received and sent by all ports on the IRF member device 1 in
MSTI 0.
<Sysname> display stp instance 0 tc slot 1