
7-29
Catalyst 4500 Series, Catalyst 2948G, Catalyst 2948G-GE-TX, and Catalyst 2980G Switches Software Configuration Guide—Release 8.2GLX
78-15908-01
Chapter 7 Configuring Spanning Tree
Using Rapid PVST+
This example shows how to configure Rapid PVST+:
Console> (enable) set spantree mode rapid-pvst+
Spantree mode set to RAPID-PVST+.
Console> (enable) set spantree link-type 3/1 point-to-point
Link type set to point-to-point on port 3/1.
Console> (enable) clear spantree detected-protocols 3/1
Spanning tree protocol detection forced on port 3/1
Console> (enable)
This example show how to verify the Rapid PVST+ configuration for VLAN 1. The first line in the
output displays the spanning tree mode:
Console> show spantree 1
Spanning tree mode RAPID-PVST+
Spanning tree type ieee
Spanning tree enabled.
.
.
.
Port State Role Cost Prio Type
------------ ----------- ------- ----- ---- -----------------
6/1
forwarding ROOT 20000 16 Shared, PEER(STP)
Console>
This example shows how to verify the link type, edge port, and guard type for port 3/6:
Console> show spantree 3/6
Port 3/6
Edge Port: No, (Configured) Default
Port Guard: Default
Link Type: P2P(Configured) Auto
Port VLAN State Role Cost Prio Type
------ ----- ---------- ------ -------- ---- -----
3/6 1 listening DESG 20000 32 P2P
3/6 2 listening DESG 20000 32 P2P
3/6 3 listening DESG 20000 32 P2P
3/6 4 listening DESG 20000 32 P2P
3/6 5 listening DESG 20000 32 P2P
3/6 6 listening DESG 20000 32 P2P
3/6 7 listening DESG 20000 32 P2P
3/6 8 listening DESG 20000 32 P2P
3/6 9 listening DESG 20000 32 P2P
3/6 10 listening DESG 20000 32 P2P
3/6 11 listening DESG 20000 32 P2P
3/6 12 listening DESG 20000 32 P2P
3/6 13 listening DESG 20000 32 P2P
3/6 14 listening DESG 20000 32 P2P
3/6 15 listening DESG 20000 32 P2P
3/6 16 listening DESG 20000 32 P2P
3/6 17 listening DESG 20000 32 P2P
3/6 18 listening DESG 20000 32 P2P
3/6 19 listening DESG 20000 32 P2P
Console>