Cisco Systems 2940 Switch User Manual


 
12-13
Catalyst 2940 Switch Software Configuration Guide
78-15507-02
Chapter 12 Configuring Optional Spanning-Tree Features
Configuring Optional Spanning-Tree Features
Beginning in privileged EXEC mode, follow these steps to enable UplinkFast. This procedure is
optional:
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 BackboneFast (Optional)
You can enable BackboneFast to detect indirect link failures and to start the spanning-tree
reconfiguration sooner.
Note If you use BackboneFast, you must enable it on all switches in the network. BackboneFast is not
supported on Token Ring VLANs. This feature is supported for use with third-party switches.
Beginning in privileged EXEC mode, follow these steps to enable BackboneFast. This procedure is
optional:
Command Purpose
Step 1
configure terminal Enter global configuration mode.
Step 2
spanning-tree uplinkfast [max-update-rate
pkts-per-second]
Enable UplinkFast.
(Optional) For pkts-per-second, the range is 0 to 32000 packets per
second; the default is 150.
If you set the rate to 0, station-learning frames are not generated,
and the spanning-tree topology converges more slowly after a loss
of connectivity.
Step 3
end Return to privileged EXEC mode.
Step 4
show spanning-tree summary Verify your entries.
Step 5
copy running-config startup-config (Optional) Save your entries in the configuration file.
Command Purpose
Step 1
configure terminal Enter global configuration mode.
Step 2
spanning-tree backbonefast Enable BackboneFast.
Step 3
end Return to privileged EXEC mode.
Step 4
show spanning-tree summary Verify your entries.
Step 5
copy running-config startup-config (Optional) Save your entries in the configuration file.