20-15
Cisco IE 2000 Switch Software Configuration Guide
OL-25866-01
Chapter 20 Configuring STP
How to Configure STP
Configuring the Root Switch
Step 5 end Returns to privileged EXEC mode.
Step 6 clear spanning-tree detected-protocols (Recommended for rapid-PVST+ mode only) Restarts the protoco l
migration process on the entire switch if any port on the switch is
connected to a port on a legacy IEEE 802.1D switch,
This step is optional if the designated switch detects that this switch is
running rapid PVST+.
Command Purpose
Step 1 configure terminal Enters global configuration mode.
Step 2 spanning-tree vlan vlan-id root primary
[diameter net-diameter [hello-time seconds]]
Configures a switch to become the root for the specified
VLAN.
vlan-id—Specifies a single VLAN identified by VLAN ID
number, a range of VLANs separated by a hyphen, or a
series of VLANs separated by a comma.
(Optional) diameter net-diameter—Specifies the
maximum number of switches between any two end
stations.
(Optional) hello-time seconds—Specifies the interval in
seconds between the generation of configuration messages
by the root switch.
Step 3 end Returns to privileged EXEC mode.
Command Purpose