R2511-HP MSR Router Series Layer 2 - LAN Switching Command Reference(V5)

62
Table 19 Command output
Field Description
ExtPathCost
External path cost. The device automatically calculates the default path cost of a port.
Otherwise, you can use the stp cost command to configure the path cost of a port.
IntPathCost
Internal path cost. The device automatically calculates the default path cost of a port.
Otherwise, 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 device is the root port of MSTIs).
display stp tc
Use display stp tc to display the statistics of TC/TCN BPDUs received and sent by all ports in an MSTI or
all MSTIs.
Syntax
display stp [ instance instance-id ] tc [ | { begin | exclude | include } regular-expression ]
Views
Any view
Default command 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 minimum value of instance-id is 0, representing the CIST, and the maximum value
of instance-id is 15.
|: 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 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 MSTP mode, display the statistics of TC/TCN BPDUs received and sent by all ports in MSTI 0.
<Sysname> display stp instance 0 tc
MSTID Port Receive Send