A SERVICE OF

logo

13-20
Software Configuration Guide—Release 12.2(25)SG
OL-7659-03
Chapter 13 Understanding and Configuring STP
Configuring STP
This example shows how to disable spanning tree on VLAN 200:
Switch# configure terminal
Switch(config)# no spanning-tree vlan 200
Switch(config)# end
Switch#
This example shows how to verify the configuration:
Switch# show spanning-tree vlan 200
Spanning tree instance for VLAN 200 does not exist.
Switch#
Enabling Per-VLAN Rapid Spanning Tree
Per-VLAN Rapid Spanning Tree (PVRST+) uses the existing PVST+ framework for configuration purposes
and for interaction with other features. It also supports some of the PVST+ extensions.
To configure PVRST+, perform this task:
The following example shows how to configure Rapid-PVST+:
Switch# config t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)# spanning-tree mode rapid-pvst
Switch(config)# int fa 6/4
Switch(config-if)# spanning-tree link-type point-to-point
Switch(config-if)# end
Switch(config)# end
Switch#
23:55:32:%SYS-5-CONFIG_I:Configured from console by console
Switch# clear spanning-tree detected-protocols
Command Purpose
Step 1
Switch(config)# [no] spantree mode rapid-pvst
Enables rapid-PVST+.
Step 2
Switch(config)# interface
interface/port
Switches to interface configuration mode.
Step 3
Switch(config)#
spanning-tree link-type
point-to-point
Sets the link-type to point-to-point mode for the port.
Step 4
Switch(config-if)# exit
Exits interface mode.
Step 5
Switch(config)# exit
Exits configuration mode.
Step 6
Switch(config-if)# clear spantree
detected-protocols
mod/port
Detects any legacy bridges on the port
Step 7
Switch# show spanning-tree summary totals
Verifies the rapid-PVST+ configuration.