CLI Reference Guide-R04

Table Of Contents
Chapter 15
| Loopback Detection Commands
– 489 –
Command Mode
Global Configuration
Command Usage
When the response to a detected loopback condition is set to block user traffic,
loopback detection control frames may untagged or tagged depending on the
ports VLAN membership type.
When the response to a detected loopback condition is set to block user traffic,
ingress filtering for the port is enabled automatically if not already enabled by
the switchport ingress-filtering command. The ports original setting for ingress
filtering will be restored when loopback detection is disabled.
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.
When the loopback detection response 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 block user traffic.
Console(config)#loopback-detection action block
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 (enabled or disabled), any
ports placed in shutdown state by the loopback detection process will be
immediately restored to operation regardless of the remaining recover time.