DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide
180
33.
Spanning Tree Protocol (STP) Commands
33-1
show spanning-tree
This command is used to display the information of spanning tree protocol operation. This command is only for
STP and RSTP.
show spanning-tree [interface [
INTERFACE-ID
[, | -]]
Parameters
interface
INTERFACE-ID
Specifies the interface ID to display.
,
(Optional) Specifies a series of interfaces, or separate a range of
interfaces from a previous range. No space before and after the
comma.
-
(Optional) Specifies a range of interfaces. No space before and
after the hyphen.
Default
None.
Command Mode
EXEC Mode or Any Configuration Mode.
Command Default Level
Level: 1.
Usage Guideline
Use this command to display the Spanning Tree configuration for the single spanning tree when in the RSTP or
STP-compatible mode.
Example
This example shows how to display the spanning tree information when STP is enabled.
Switch# show spanning-tree
Spanning Tree : Enabled
BPDU Forward : Disabled
Protocol Mode : RSTP
Root ID Priority : 32768
Address : 00-01-C1-13-14-08
Max Age : 20 sec, Forward Delay : 15 sec
Interface Role State Cost Priority Edge
-------------- ---- ----- ---- -------- ----
eth1/0/1 designated discarding 200000 128 non-edge
eth1/0/2 designated discarding 200000 128 non-edge
Switch#