Chapter 8
Configuring Spanning Tree PortFast, UplinkFast, and BackboneFast, and Loop Guard
Configuring Loop Guard
These sections describe how to configure BackboneFast:
•
•
Enabling Loop Guard
Use the set spantree guard command to enable or disable the spanning tree loop guard feature on a
per-port basis.
To enable loop guard on the switch, perform this task in privileged mode:
Task
Step 1
Enable loop guard on a port.
Step 2
Verify that loop guard is enabled.
This example shows how to enable loop guard:
Console> (enable) set spantree guard loop 5/1
Rootguard is enabled on port 5/1, enabling loopguard will disable rootguard on
this port.
Do you want to continue (y/n) [n]? y
Loopguard on port 5/1 is enabled.
Console> (enable)
Disabling Loop Guard
To disable loop guard on the switch, perform this task in privileged mode:
Task
Step 1
Disable loop guard on a port.
Step 2
Verify that loop guard is disabled.
This example shows how to disable loop guard:
Console> (enable) set spantree guard none 5/1
Rootguard is disabled on port 5/1, disabling loopguard will disable rootguard on
this port.
Do you want to continue (y/n) [n]? y
Loopguard on port 5/1 is disabled.
Console> (enable)
78-12647-02
Enabling Loop Guard, page 8-17
Disabling Loop Guard, page 8-17
Software Configuration Guide—Catalyst 4000 Family, Catalyst 2948G, Catalyst 2980G, Releases 6.3 and 6.4
Command
set spantree guard {root | loop | none} mod/port
show spantree guard {mod/port | vlan} mistp-instance
instance
Command
set spantree guard {root | loop | none} mod/port
show spantree guard {mod/port | vlan} mistp-instance
instance
Configuring Loop Guard
8-17