CLI Reference Guide-R02

Table Of Contents
Chapter 15
| Loopback Detection Commands
– 477 –
none - No action is taken.
shutdown - Shuts down the interface.
Default Setting
Shut down
Command Mode
Global Configuration
Command Usage
When a port receives a control frame sent by itself, this means that the port is in
a looped state, and the VLAN in the frame payload is also in looped state. The
looped port is therefore shut down.
Use the loopback-detection recover-time command to set the time to wait
before re-enabling an interface shut down by the loopback detection process.
Example
This example sets the loopback detection mode to shut down user traffic.
Console(config)#loopback-detection action shutdown
Console(config)#
loopback-detection
recover-time
This command specifies the interval to wait before the switch automatically
releases an interface from shutdown state. Use the no form to restore the default
setting.
Syntax
loopback-detection recover-time seconds
no loopback-detection recover-time
seconds - Recovery time from shutdown state. (Range: 60-1,000,000
seconds, or 0 to disable automatic recovery)
Default Setting
60 seconds
Command Mode
Global Configuration
Command Usage
If the recovery time is set to zero, all ports placed in shutdown state can be restored
to operation using the loopback-detection release command. To restore a specific
port, use the no shutdown command.