CLI Reference Guide-R03

Table Of Contents
Chapter 16
| Loopback Detection Commands
– 419
Command Usage
When using vlan-based mode, loopback detection control frames are
untagged or tagged depending on the ports VLAN membership type.
When using vlan-based mode, ingress filtering for the port is enabled
automatically if not already enabled by the switchport ingress-filtering
command. The port’s original setting for ingress filtering will be restored when
loopback detection is disabled.
When the loopback detection mode is changed, any ports placed in shutdown
state by the loopback detection process will be immediately restored to
operation regardless of the remaining recover time.
Example
This example sets the loopback detection mode to VLAN based.
Console(config)#loopback-detection mode vlan-based
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
When the loopback detection mode is changed, any ports placed in shutdown
state by the loopback detection process will be immediately restored to
operation regardless of the remaining recover time.
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.