device# configure terminal
device(config)# protocol loop-detection
device(config-loop-detect)# hello-interval 2000
device(config-loop-detect)# shutdown-tiome 20
device(config-loop-detect)# raslog-duration 20
device(config)# interface ethernet 0/6
device(conf-if-eth-0/6)# loop-detection
device(config)# vlan 5
device(config-vlan-5)# loop-detection
device(config)# interface ethernet 0/6
device(conf-if-eth-0/6)# loop-detection vlan 5
device(config)# interface ethernet 0/6
device(conf-if-eth-0/6)# loop-detection shutdown-disable
device(config)# interface ethernet 0/6
device(conf-if-eth-0/6)# loop-detection shutdown-disable
device# show loop-detection Strict Mode: ------------------------ Number of loop-detection instances enabled: 1 Interface: eth 0/6 Enabled on VLANs: 100 Shutdown Disable: No Interface status: UP Auto enable in: Never Packet Statistics: vlan sent rcvd disable-count 100 100 0 0 Loose Mode: ------------------------ Number of LD instances: 2 Disabled Ports: 2/7 Packet Statistics: vlan sent rcvd disable-count 100 100 0 0
device# show loop-detection disabled-ports Ports disabled by loop detection ------------------------------------------- port age(min) disable cause 0/6 5 Disabled by Self
device# show loop-detection globals Loop Detection: Disabled Shutdown-time (minutes): 0 Hello-time (msec): 1000 Raslog-duration (minutes): 10
device# clear loop-detection
device# clear loop-detection interface ethernet 0/6
device# clear loop-detection interface port-channel 20
device# clear loop-detection interface vlan 10