2-1016
Catalyst 6500 Series Switch Command Reference—Release7.6
78-15328-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands
show spantree
Port State Role Cost Prio Type
------------------------ ------------- ---- -------- ---- --------------------
3/3 forwarding DESG 19 32 P2P, PEER(STP)
5/1 forwarding DESG 4 32 P2P, Edge
6/5 forwarding DESG 4 32 P2P
Console>
This example (while in Rapid PVST+ mode) shows how to display the spanning t ree configurat ion f or
module 5, port 1:
Console> show spantree 5/1
Edge Port: Yes, (Configured) Disable
Link Type: P2P, (Configured) Auto
Port Guard: Default
Port Vlan State Role Cost Prio Type
------------------------ ---- ------------- ---- -------- ---- -----------------
5/1 1 forwarding DESG 4 32 P2P, Edge
5/1 40 forwarding DESG 4 32 P2P, Edge
5/1 500 forwarding DESG 4 32 P2P, Edge
5/1 501 forwarding DESG 4 32 P2P, Edge
5/1 856 forwarding DESG 4 32 P2P, Edge
5/1 989 forwarding DESG 4 32 P2P, Edge
Console>
Table 2 -86 describes the fields in the show spantree command output:
Table2-86 show spantree Command Output Fields
Field Description
VLAN VLAN for which the spanning tree information is
shown.
Spanning tree Status of whether Spanning Tree Protocol is
enabled or disabled.
Spanning tree mode Current spanning tree mode: mistp, pvst+,
mistp-pvst+, mst, or rapid pvst+.
Spanning tree type Current spanning tree type: ieee or cisco.
Designated Root MAC address of the designated spanning tree root
bridge.
Designated Root Priority Priority of the designated root bridge.
Designated Root Cost Total path cost to reach the root.
Designated Root Port Port through which the root bridge can be reached
(shown only on nonroot bridges).
Root Max Age Amount of time a BPDU packet should be
considered valid.
Hello Time Number of times the root bridge sends BPDUs.
Forward Delay Amount of time the port spends in listening or
learning mode.
Bridge ID MAC ADDR Bridge MAC address.
Bridge ID Priority Bridge priority.
Bridge Max Age Bridge maximum age.