15-18
Catalyst 2950 and Catalyst 2955 Switch Software Configuration Guide
OL-10101-02
Chapter 15 Configuring Optional Spanning-Tree Features
Configuring Optional Spanning-Tree Features
When UplinkFast is enabled, the switch priority of all VLANs is set to 49152. If you change the path
cost to a value less than 3000 and you enable UplinkFast or UplinkFast is already enabled, the path cost
of all interfaces and VLAN trunks is increased by 3000 (if you change the path cost to 3000 or above,
the path cost is not altered). The changes to the switch priority and the path cost reduces the chance that
the switch will become the root switch.
When UplinkFast is disabled, the switch priorities of all VLANs and path costs of all interfaces are set
to default values if you did not modify them from their defaults.
To return the update packet rate to the default setting, use the no spanning-tree uplinkfast
max-update-rate global configuration command. To disable UplinkFast, use the no spanning-tree
uplinkfast command.
Enabling Cross-Stack UplinkFast
Before enabling CSUF, make sure your stack switches are properly connected. For more information,
see the “Connecting the Stack Ports” section on page 15-8.
You can enable the CSUF feature for rapid PVST+ or for the MSTP, but the feature remains disabled
(inactive) until you change the spanning-tree mode to PVST+.
Beginning in privileged EXEC mode, follow these steps to enable CSUF. This procedure is optional.
To disable CSUF on an interface, use the no spanning-tree stack-port interface configuration
command. To disable UplinkFast on the switch and all its VLANs, use the no spanning-tree uplinkfast
global configuration command.
Command Purpose
Step 1 configure terminal Enter global configuration mode.
Step 2 spanning-tree uplinkfast [max-update-rate
pkts-per-second]
Enable UplinkFast on the switch.
(Optional) For max-update-rate pkts-per-second, specify the
number of packets per second at which update packets are sent. The
range is 0 to 65535; the default is 150 packets per second.
Step 3 interface interface-id Specify the GBIC module interface on which to enable CSUF, and
enter interface configuration mode.
Step 4 spanning-tree stack-port Enable CSUF on only one stack-port GBIC interface.
The stack port connects to the GigaStack GBIC module multidrop
backbone. If you try to enable CSUF on a Fast Ethernet or a
Gigabit-capable Ethernet port, you receive an error message.
If CSUF is already enabled on an interface and you try to enable it
on another interface, you receive an error message. You must disable
CSUF on the first interface before enabling it on a new interface.
Use this command only on access switches.
Step 5 end Return to privileged EXEC mode.
Step 6 show running-config Verify your entries.
Step 7 copy running-config startup-config (Optional) Save your entries in the configuration file.