20-17
Cisco IE 2000 Switch Software Configuration Guide
OL-25866-01
Chapter 20 Configuring STP
Monitoring and Maintaining STP

Configuring Optional STP Parameters

Before You Begin
Exercise care when configuring the priority, and hello time for STP.
For most situations, we recommend that you use th e spanning-tree vlan vlan-id root primary and the
spanning-tree vlan vlan-id root secondary global configuration commands to modify the switch
priority.
Monitoring and Maintaining STP
Step 3 spanning-tree cost cost Configures the cost for an interface.
Step 4 spanning-tree vlan vlan-id cost cost Configures the cost for a VLAN.
If a loop occurs, spanning tree uses the path cost when selecting
an interface to place into the forwarding state. A lower path cost
represents higher-speed transmission.
Step 5 end Returns to privileged EXEC mode.
Command Purpose
Command Purpose
Step 1 configure terminal Enters global configuration mode.
Step 2 spanning-tree vlan vlan-id priority priority Configures the switch priority of a VLAN.
Step 3 spanning-tree vlan vlan-id hello-time seconds Configures the hello time of a VLAN.
Step 4 spanning-tree vlan vlan-id max-age seconds Configures the maximum-aging time of a VLAN.
Step 5 spanning-tree vlan vlan-id forward-time seconds Configures the forward time of a VLAN.
Step 6 spanning-tree vlan vlan-id max-age seconds Configures the maximum-aging time of a VLAN.
Step 7 spanning-tree transmit hold-count value Configures the number of BPDUs that can be sent before
pausing for 1 second.
Note Changing this parameter to a higher value can have a
significant impact on CPU utilization, especially in
Rapid-PVST mode. Lowering this value can slow
down convergence in certain scenarios. We
recommend that you maintain the default setting.
Step 8 end Returns to privileged EXEC mode.
Command Purpose
show spanning-tree active Displays spanning- tree information on active interfaces only.
show spanning-tree detail Displays a detailed summary of interface information.
show spanning-tree interface interface-id Displays spanning-tree information for the specified
interface.
show spanning-tree summary Displays a summary of interface states.