loop-detection vlan

Associates a VLAN at the interface level to support the loop detection (LD) protocol.

Syntax

loop-detection vlan vlan-id
no loop-detection vlan

Command Default

This feature is disabled.

Parameters

vlan-id
Specifies a created VLAN. Range is from 1 through 4090.

Modes

Interface subtype configuration mode (Ethernet or port-channel)

Usage Guidelines

The VLAN must already be created.

This command applies to LD loose mode.

The no form of this command deletes LD support for all previously configured VLANs, deleting all LD configurations at the interface level.

Examples

To associate a VLAN to an Ethernet interface for LD support:

device# configure terminal
device(config)# interface ethernet 2/6
device(conf-if-eth-2/6)# loop-detection vlan 20

To disassociate all previously configured VLANs from an Ethernet interface for LD support and delete all LD configurations at the Ethernet interface level:

device# configure terminal
device(config)# interface ethernet 2/6
device(conf-if-eth-2/6)# no loop-detection vlan 20