loop-detection

Enables loop detection on a physical port (Strict Mode) or on a VLAN (Loose Mode).
Syntax
loop-detection [ shutdown-disable ]
no loop-detection [ shutdown-disable ]
Command Default

Loop detection is disabled by default.

Parameters
shutdown-disable
Disables shutdown of a port due to loop detection.
Modes

Interface configuration mode

VLAN configuration mode

Usage Guidelines

By default, the port sends test packets every one second, or the number of seconds specified by the loop-detection-interval command.

The no form of the command disables loop detection.

Examples

The following example enables loop detection on a physical port.

device(config)# interface ethernet 1/1/1
device(config-if-e1000-1/1/1)# loop-detection

The following example enables loop detection on a VLAN.

device(config)# vlan 20
device(config-vlan-20)# loop-detection