9-17
Catalyst 6000 Family Software Configuration Guide—Releases 6.3 and 6.4
78-13315-02
Chapter 9 Configuring Spanning Tree PortFast, UplinkFast, BackboneFast, and Loop Guard
Configuring Loop Guard
Configuring Loop Guard
These sections describe how to configure BackboneFast:
•
Enabling Loop Guard, page 9-17
•
Disabling Loop Guard, page 9-17
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:
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:
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)
Task
Command
Step 1
Enable loop guard on a port.
set spantree guard
loop
mod/port
Step 2
Verify that loop guard is enabled.
show spantree guard
{
mod/port
|
vlan
}
mistp-instance
instance
Task
Command
Step 1
Disable loop guard on a port.
set spantree guard
none
mod/port
Step 2
Verify that loop guard is disabled.
show spantree guard
{
mod/port
|
vlan
}
mistp-instance
instance