Enabling loop detection

Use the loop-detection command to enable loop detection on a physical port (Strict Mode) or a VLAN (Loose Mode). Loop detection is disabled by default. The following example shows a Strict Mode configuration.

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

The following example shows a Loose Mode configuration.

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

By default, the port will send test packets every one second, or the number of seconds specified by the loop-detection-interval command. Refer to Configuring a global loop detection interval.

Syntax: [no] loop-detection

Use the [no] form of the command to disable loop detection.