Chapter 20
Configuring Optional Spanning-Tree Features
Figure 20-9
spanning-tree root without
root guard enabled
Understanding Loop Guard
You can use loop guard to prevent alternate or root ports from becoming designated ports because of a
failure that leads to a unidirectional link. This feature is most effective when it is enabled on the entire
switched network. Loop guard prevents alternate and root ports from becoming designated ports, and
spanning tree does not send BPDUs on root or alternate ports.
You can enable this feature by using the spanning-tree loopguard default global configuration
command.
When the switch is operating in PVST+ or rapid-PVST+ mode, loop guard prevents alternate and root
ports from becoming designated ports, and spanning tree does not send BPDUs on root or alternate ports.
When the switch is operating in MST mode, BPDUs are not sent on nonboundary ports only if the
interface is blocked by loop guard in all MST instances. On a boundary port, loop guard blocks the
interface in all MST instances.
Configuring Optional Spanning-Tree Features
These sections contain this configuration information:
•
•
•
•
•
•
•
OL-12247-04
Root Guard in a Data-Center Network
Customer network
Potential
Default Optional Spanning-Tree Configuration, page 20-12
Optional Spanning-Tree Configuration Guidelines, page 20-12
Enabling Port Fast, page 20-12
Enabling BPDU Guard, page 20-13
Enabling BPDU Filtering, page 20-14
Enabling UplinkFast for Use with Redundant Links, page 20-15
Enabling Cross-Stack UplinkFast, page 20-16
Cisco Catalyst Blade Switch 3130 and 3032 for Dell Software Configuration Guide
Enable the root-guard feature
on these interfaces to prevent
switches in the customer
network from becoming
the root switch or being
in the path to the root.
(optional)
(optional)
(optional)
(optional)
Configuring Optional Spanning-Tree Features
Data-center network
Desired
root switch
(optional)
20-11