Syntax
display stp [ instance instance-list | vlan vlan-id-list ] [ interface
interface-list | slot slot-number ] [ brief ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
instance instance-list
specifies an MSTI or a range of MSTIs in the form of
value for
instance-id2
value range for the
vlan vlan-id-list
specifies a VLAN or a range of VLANs in the form of
vlan-id2
argument is 1 to 4094.
vlan-id
interface interface-list
item specifies an interface or a range of interfaces in the form of
interface-number 1 [ to interface-type interface-number 2 ]
number for
interface-number 1
: Displays brief spanning tree status and statistics. If this keyword is not specified, the
brief
command displays detailed spanning tree status and statistics.
slot slot-number
be 1.
Usage guidelines
In STP or RSTP mode, the command output is sorted by port name.
•
If you do not specify a port, this command applies to all ports.
•
If you specify a port list, this command applies to the specified ports.
In PVST mode, the command output is sorted by VLAN ID and by port name in each VLAN.
•
If you do not specify a VLAN or port, this command applies to all ports in all VLANs.
•
If you only specify a VLAN list but not a port, this command applies to all ports in the specified
VLANs.
•
If you only specify a port list but not a VLAN, this command applies to the specified ports in all
VLANs.
•
If you specify both a VLAN list and a port list, this command applies to the ports in the specified
VLANs.
In MSTP mode, the command output is sorted by MSTI ID and by port name in each MSTI.
•
If you do not specify an MSTI or port, this command applies to all MSTIs on all ports.
•
If you specify an MSTI list but not a port, this command applies to all ports in the specified
MSTIs.
•
If you specify a port list but not an MSTI, this command applies to all MSTIs on the specified
ports.
: Specifies a space-separated list of up to 10 MSTI items. Each item
must be equal to or greater than the value for
instance-id
: Specifies a space-separated list of up to 10 VLAN items. Each item
must be equal to or greater than the value for
: Specifies a space-separated list of up to 10 interface items. Each
interface-number 2
.
:Specifies an IRF member device by its member ID. The member ID can only
instance-id1 [ to instance-id2 ]
argument is 0 to 4094, and the value 0 represents the CIST.
vlan-id1 [ to vlan-id2 ]
must be equal to or greater than the interface number for
3
instance-id1
. The value range for the
vlan-id1
interface-type
. The
. The
. The value for
. The interface