87
15 10
Table 21 Command output
Field
Description
Format selector
Format selector of the MST region, which is 0 (not
configurable).
Region name
MST region name.
Revision level
Revision level of the MST region.
Instance Vlans Mapped
VLAN-to-instance mappings in the MST region.
display stp
Syntax
display stp
[
instance instance-id
|
vlan
vlan-id
]
[
interface interface-list
|
slot
slot-number
]
[
brief
]
[
|
{
begin
|
exclude
|
include
}
regular-expression
]
View
Any view
Default level
1: Monitor level
Parameters
instance instance-id
: Displays the status and statistics of a specific MSTI. The value of
instance-id
ranges from 0 to 16, where 0 represents the common internal spanning tree (CIST).
vlan
vlan-id
: Displays the spanning tree status and statistics of a VLAN specified by
vlan-id
, in the
range of 1 to 4094.
interface interface-list
: Displays the spanning tree status and statistics on the ports specified by a
port list, in the format of
interface-list
= {
interface-type interface-number
[
to
interface-type
interface-number
] }&<1-10>, where &<1-10> indicates that you can specify up to 10 ports or port
ranges.
slot
slot-number
: Specifies the ID of a switch. The value can only be 1.
brief
: Displays brief spanning tree status and statistics.
|
: 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.
Description
Use
display stp
to display the spanning tree status and statistics.
Based on the spanning tree status and statistics, you can analyze and maintain the network topology
or check whether spanning tree is working properly.
In STP/RSTP mode, follow these guidelines:
•
If you do not specify any port, this command displays the spanning tree information for all ports.
The displayed information is sorted by port name.