2-361
Catalyst 2350 Switch Command Reference
OL-19055-01
Chapter 2 Catalyst 2350 Cisco IOS Commands
show spanning-tree
Command Modes
User EXEC
Command History
Usage Guidelines
If the
vlan-id
variable is omitted, the command applies to the spanning-tree instance for all VLANs.
Expressions are case sensitive. For example, if you enter
| exclude output
, the lines that contain
output
do not appear, but the lines that contain
Output
appear.
Examples
This is an example of output from the
show spanning-tree active
command:
Switch#
show spanning-tree active
VLAN0001
Spanning tree enabled protocol ieee
Root ID Priority 32768
Address 0001.42e2.cdd0
Cost 3038
Port 24 (GigabitEthernet0/1)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 49153 (priority 49152 sys-id-ext 1)
Address 0003.fd63.9580
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300
Uplinkfast enabled
Interface Role Sts Cost Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Gi0/1 Root FWD 3019 128.24 P2p
<output truncated>
This is an example of output from the
show spanning-tree detail
command:
Switch#
show spanning-tree detail
VLAN0001 is executing the ieee compatible Spanning Tree protocol
Bridge Identifier has priority 49152, sysid 1, address 0003.fd63.9580
Configured hello time 2, max age 20, forward delay 15
Current root has priority 32768, address 0001.42e2.cdd0
Root port is 24 (GigabitEthernet0/1), cost of root path is 3038
Topology change flag not set, detected flag not set
Number of topology changes 0 last change occurred 1d16h ago
Times: hold 1, topology change 35, notification 2
hello 2, max age 20, forward delay 15
Timers: hello 0, topology change 0, notification 0, aging 300
Uplinkfast enabled
| begin
(Optional) Display begins with the line that matches the
expression
.
| exclude
(Optional) Display excludes lines that match the
expression
.
| include
(Optional) Display includes lines that match the specified
expression
.
expression
Expression in the output to use as a reference point.
Release
Modification
12.2(46)EY
This command was introduced.