show span
show span
[
number
|designated-protect
|
fast-uplink-span
|
pvst-mode
|
root-protect
]show span
[
detail
[
number
|
vlan
vlan-id
[
ethernet
stackid/slot/port
|
lag
lag-id ]
]
]show span
[
vlan
vlan-id
[ethernet
stackid/slot/port
|
fast-uplink-span
|lag
lag-id
]
]User EXEC mode
The
show span command displays the following information:
The
show span detail command displays the following information:
The following example shows the STP information.
device# show span
VLAN 1 BPDU cam_index is 3 and the Master DMA Are(HEX)
STP instance owned by VLAN 1
Global STP (IEEE 802.1D) Parameters:
VLAN Root Root Root Prio Max He- Ho- Fwd Last Chg Bridge
ID ID Cost Port rity Age llo ld dly Chang cnt Address
Hex sec sec sec sec sec
1 800000e0804d4a00 0 Root 8000 20 2 1 15 689 1 00e0804d4a00
Port STP Parameters:
Port Prio Path State Fwd Design Designated Designated
Num rity Cost Trans Cost Root Bridge
Hex
1 80 19 FORWARDING 1 0 800000e0804d4a00 800000e0804d4a00
2 80 0 DISABLED 0 0 0000000000000000 0000000000000000
3 80 0 DISABLED 0 0 0000000000000000 0000000000000000
4 80 0 DISABLED 0 0 0000000000000000 0000000000000000
5 80 19 FORWARDING 1 0 800000e0804d4a00 800000e0804d4a00
6 80 19 BLOCKING 0 0 800000e0804d4a00 800000e0804d4a00
7 80 0 DISABLED 0 0 0000000000000000 0000000000000000
<lines for remaining ports excluded for brevity>
The following example shows the detailed STP information.
device# show span detail ====================================================================== VLAN 1 - SPANNING TREE (IEEE 802.1D) ACTIVE ====================================================================== Bridge identifier - 0x800000a0c9c002a0 Active global timers - Hello: 0 Topology change not set, Topology change detected not set, Topology change time 35 Number of topology changes: 113 Last topology change occured 46 second(s) ago on lg40 Port 1/1/1 is FORWARDING Port - Path cost: 4, Priority: 128, Port Identifier:128.0, Root: 0x800000a0c9c002a0 Root Bridge Priority:32768 Designated - Bridge: 0x800000a0c9c002a0, Priority:32768, Interface: 0, Identifier:128.0, Path cost: 0 Active Timers - Hold: 0 BPDUs - Sent: 5968, Received: 0 Port 1/1/2 is DISABLED Port 1/1/3 is DISABLED Port 1/1/4 is FORWARDING Port - Path cost: 4, Priority: 128, Port Identifier:128.3101, Root: 0x800000a0c9c002a0 Root Bridge Priority:32768 Designated - Bridge: 0x800000a0c9c002a0, Priority:32768, Interface: 3101, Identifier:128.3101, Path cost: 0 Active Timers - Hold: 0 BPDUs - Sent: 5978, Received: 52
The following example displays STP information for an individual port in a specified VLAN.
device# show span detail vlan 1 ethernet 1/1/1 ====================================================================== VLAN 1 - SPANNING TREE (IEEE 802.1D) ACTIVE ====================================================================== Bridge identifier - 0x800000a0c9c002a0 Active global timers - Hello: 0 Topology change not set, Topology change detected not set, Topology change time 35 Number of topology changes: 113 Last topology change occured 6 minute(s) 57 second(s) ago on lg40 Port 1/1/1 is FORWARDING Port - Path cost: 4, Priority: 128, Port Identifier:128.0, Root: 0x800000a0c9c002a0 Root Bridge Priority:32768 Designated - Bridge: 0x800000a0c9c002a0, Priority:32768, Interface: 0, Identifier:128.0, Path cost: 0 Active Timers - None BPDUs - Sent: 6152, Received: 0
The following example displays STP information in a VLAN.
device# show span vlan 100
STP instance owned by VLAN 100
Global STP (IEEE 802.1D) Parameters:
VLAN Root Root Root Prio Max He- Ho- Fwd Last Chg Bridge
ID ID Cost Port rity Age llo ld dly Chang cnt Address
Hex sec sec sec sec sec
100 8000cc4e24b46fcc 0 Root 8000 20 2 1 15 11 1 cc4e24b46fcc
Port STP Parameters:
Port Prio Path State Fwd Design Designated Designated
Num rity Cost Trans Cost Root Bridge
Hex
1/1/1 80 4 FORWARDING 1 0 8000cc4e24b46fcc 8000cc4e24b46fcc
1/1/2 80 4 FORWARDING 1 0 8000cc4e24b46fcc 8000cc4e24b46fcc
1/1/3 80 4 FORWARDING 1 0 8000cc4e24b46fcc 8000cc4e24b46fcc
1/1/4 80 4 FORWARDING 1 0 8000cc4e24b46fcc 8000cc4e24b46fcc
1/1/5 80 4 FORWARDING 1 0 8000cc4e24b46fcc 8000cc4e24b46fcc
1/1/6 80 4 FORWARDING 1 0 8000cc4e24b46fcc 8000cc4e24b46fcc
1/1/7 80 4 FORWARDING 1 0 8000cc4e24b46fcc 8000cc4e24b46fcc
1/1/8 80 4 FORWARDING 1 0 8000cc4e24b46fcc 8000cc4e24b46fcc
lg1 80 4 FORWARDING 1 0 8000cc4e24b46fcc 8000cc4e24b46fcc
lg256 80 4 FORWARDING 1 0 8000cc4e24b46fcc 8000cc4e24b46fcc
The following example shows the port path costs after the 802.1D 2004 path cost method is globally configured. The Ethernet 1/1/5 and 1/1/6 port speeds are 1 Gbps.
device# show span vlan 100
STP instance owned by VLAN 100
Global STP (IEEE 802.1D) Parameters:
VLAN Root Root Root Prio Max He- Ho- Fwd Last Chg Bridge
ID ID Cost Port rity Age llo ld dly Chang cnt Address
Hex sec sec sec sec sec
100 8000cc4e246eb200 0 Root 8000 20 2 1 15 12739 2 cc4e246eb200
Port STP Parameters:
Port Prio Path State Fwd Design Designated Designated
Num rity Cost Trans Cost Root Bridge
Hex
1/1/5 80 20000 FORWARDING 1 0 8000cc4e246eb200 8000cc4e246eb200
1/1/6 80 20000 FORWARDING 1 0 8000cc4e246eb200 8000cc4e246eb200