125
Table 31 Command output
Field Description
Format selector
Format selector that is defined by the spanning tree protocol. The default
value is 0, and the selector cannot be configured.
Region name MST region name.
Revision level
Revision level of the MST region. The default value is 0, and the level can be
configured by using the
revision-level
command.
VLANs Mapped VLANs mapped to the MSTI.
Related commands
• instance
• region-name
• revision-level
• vlan-mapping modulo
display stp root
Use display stp root to display the root bridge information of spanning trees.
Syntax
display stp root
Views
Any view
Predefined user roles
network-admin
network-operator
Examples
# In MSTP mode, display the root bridge information of all spanning trees.
<Sysname> display stp root
MST ID Root Bridge ID ExtPathCost IntPathCost Root Port
0 0.00e0-fc0e-6554 200200 0 GigabitEthernet1/0/1
# In PVST mode, display the root bridge information of all spanning trees.
<Sysname> display stp root
VLAN ID Root Bridge ID ExtPathCost IntPathCost Root Port
1 0.00e0-fc0e-6554 200200 0 GigabitEthernet1/0/1
Table 32 Command output
Field Description
ExtPathCost
External path cost. The device automatically calculates the default path cost of a
port. Or, 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. Or, 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).