![H3C S5120-SI Series Скачать руководство пользователя страница 99](http://html2.mh-extra.com/html/h3c/s5120-si-series/s5120-si-series_command-reference-manual_3713315099.webp)
88
display stp root
Syntax
display stp root
[
|
{
begin
|
exclude
|
include
}
regular-expression
]
View
Any view
Default level
1: Monitor level
Parameters
|
: 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 root
command to display the root bridge information of all MSTIs.
Examples
# Display the root bridge information of all MSTIs.
<Sysname> display stp root
MSTID Root Bridge ID ExtPathCost IntPathCost Root Port
0 0.00e0-fc0e-6554 200200 0 GigabitEthernet1/0/1
Table 26
Output description
Field Description
ExtPathCost
External 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.
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