R3303-HP HSR6800 Routers Layer 2 - LAN Switching Command Reference
57
<Sysname> display stp root
MSTID Root Bridge ID ExtPathCost IntPathCost Root Port
0 0.00e0-fc0e-6554 200200 0 GigabitEthernet4/0/1
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
In standalone mode:
display stp [ instance instance-id ] tc [ slot slot-number ] [ | { begin | exclude | include }
regular-expression ]
In IRF mode:
display stp [ instance instance-id ] tc [ chassis chassis-number slot slot-number ] [ | { 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 value range for this argument is 0 to 31. The value 0 represents the CIST.
slot slot-number: Specifies a card by its slot number. The slot-number argument represents the slot number
of the card. If you do not specify a card, this command displays the statistics of TC/TCN BPDUs received
and sent by all ports in the specified MSTI on all cards. (In standalone mode.)
chassis chassis-number slot slot-number: Specifies a card on an IRF member device. The chassis-number
argument represents the member ID of the IRF member device, and the slot-number argument represents
the slot number of the card. If you do not specify a card, this command displays the statistics of TC/TCN
BPDUs received and sent by all ports in the specified MSTI on all cards in the IRF fabric. (In IRF mode.)
|: 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.