12-13
Catalyst2950 Desktop Switch Software Configuration Guide
78-11380-05
Chapter12 Configuring Optiona l Spa nning-Tree Features Configuring Optional Spanning-Tree Features

Understanding Loop Guard

You can use loop guard to prevent alternate or root ports from becoming designated ports b eca use o f a
failure that leads to a unidirectional link. This feature is most effective when it is conf igured on th e entire
switched network.
If your switch is running PVST or MSTP, you can enable this feature by using the spanning-tree
loopguard default global configuration command. The MSTP is available only if you have the EI
installed on your switch.
When the switch is operating in PVST mode, loop guard prevents alternate and root ports from becoming
designated ports, and spanning tree does not send BPDUs on root or alte rn ate port s.
When the switch is operating in MST mode, BPDUs are not sent on nonboundary ports only if the p ort
is blocked by loop guard in all MST instances. On a boundary port, loop guard blocks the port in all MST
instances.
Configuring Optional Spanning-Tree Features
These sections describe how to configure optional spanning-tree feature s:
Default Optional Spanning-Tree Configuration, page 12-14
Enabling Port Fast, page 12-14
Enabling BPDU Guard, page 12-15
Enabling BPDU Filtering, page 12-16
Enabling UplinkFast for Use with Redundant Links, page 12 -1 7
Enabling Cross-Stack UplinkFast, page 12-18
Enabling BackboneFast, page 12-19
Enabling Root Guard, page 12-19
Enabling Loop Guard, page 12-20