Associates a VLAN at the interface level to support the loop detection (LD) protocol.
This feature is disabled.
Interface subtype configuration mode (Ethernet or port-channel)
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.
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