Cisco Catalyst 2960-X Command Reference Manual page 78

Layer 2
Hide thumbs Also See for Catalyst 2960-X:
Table of Contents

Advertisement

show spanning-tree
Usage Guidelines
If you do not specify a vlan-id value when you use the vlan keyword, the command applies to spanning-tree
instances for all VLANs.
Examples
This is an example of output from the show spannning-tree active command:
Switch# show spanning-tree active
VLAN0001
Spanning tree enabled protocol ieee
Root ID
Bridge ID
Uplinkfast enabled
Interface
---------------- ---- --- --------- -------- --------------------------------
Gi2/0/1
Gi0/1
<output truncated>
This is an example of output from the show spanning-tree detail command:
Switch# show spanning-tree detail
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 1 (GigabitEthernet2/0/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:
Timers: hello 0, topology change 0, notification 0, aging 300
Uplinkfast enabled
Port 1 (GigabitEthernet2/0/1) of VLAN0001 is forwarding
Port path cost 3019, Port priority 128, Port Identifier 128.24.
Designated root has priority 32768, address 0001.42e2.cdd0
Designated bridge has priority 32768, address 00d0.bbf5.c680
Designated port id is 128.25, designated path cost 19
Timers: message age 2, forward delay 0, hold 0
Number of transitions to forwarding state: 1
Link type is point-to-point by default
BPDU: sent 0, received 72364
<output truncated>
This is an example of output from the show spanning-tree summary command:
Switch# show spanning-tree interface mst configuration
Switch is in pvst mode
Root bridge for: none
EtherChannel misconfiguration guard is enabled
Extended system ID
Portfast
PortFast BPDU Guard
Portfast BPDU Filter is disabled by default
Loopguard
UplinkFast
Catalyst 2960-X Switch Layer 2 Command Reference, Cisco IOS Release 15.0(2)EX
72
Priority
32768
Address
0001.42e2.cdd0
Cost
3038
Port
24 (GigabitEthernet2/0/1)
Hello Time
2 sec
Max Age 20 sec
Priority
49153
(priority 49152 sys-id-ext 1)
Address
0003.fd63.9580
Hello Time
2 sec
Max Age 20 sec
Aging Time 300
Role Sts Cost
Root FWD 3019
Root FWD 3019
hold 1, topology change 35, notification 2
hello 2, max age 20, forward delay 15
is enabled
is disabled by default
is disabled by default
is disabled by default
is enabled
Forward Delay 15 sec
Forward Delay 15 sec
Prio.Nbr Type
128.24
P2p
128.24
P2p
Layer 2 Commands
OL-29043 -01

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents