7-33
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
OL-8978-04
Chapter 7 Configuring Spanning Tree
Configuring Rapid-PVST+ on the Switch
Configuring Rapid-PVST+ on the Switch
Rapid-PVST+ is the default spanning tree protocol that is used on all Ethernet, Fast Ethernet, and
Gigabit Ethernet port-based VLANs on Catalyst 6500 series switches. To configure Rapid-PVST+, you
need to also configure PVST+ on your switch. You can configure PVST+ either before or after you
enable Rapid-PVST+.
To configure Rapid-PVST+, perform this task in privileged mode:
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 shows how to verify the Rapid-PVST+ configuration for VLAN 1. Notice that 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> (enable)
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
Task
Command
Step 1
Enable Rapid-PVST+.
set spantree mode rapid-pvst+
Step 2
Set the link-type to point-to-point mode for
the port.
set spantree link-type
mod/port
point-to-point
Step 3
Detect any legacy bridges on the port.
clear spantree detected-protocols
mod/port
Step 4
Verify the Rapid-PVST+ configuration.
show spantree
vlan