Display Stp Tc - H3C MSR Series Command Reference Manual

Comware 5 layer 2 - lan switching
Hide thumbs Also See for MSR Series:
Table of Contents

Advertisement

Views
Any view
Default command level
1: Monitor level
Parameters
|: 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.
Examples
# In MSTP mode, display the root bridge information of all spanning trees.
<Sysname> display stp root
MSTID
Root Bridge ID
0
0.00e0-fc0e-6554
Table 19 Command output
Field
ExtPathCost
IntPathCost
Root Port

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.
ExtPathCost IntPathCost Root Port
200200
Description
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.
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 name (displayed only if a port of the device is the root port of MSTIs).
0
Ethernet1/1
60

Advertisement

Table of Contents
loading

Table of Contents