show loop-detection

Displays loop detection (LD) information at the system, interface (Ethernet or port-channel), or VLAN VXLAN tunnel level.

Syntax

show loop-detection [ disabled-ports | globals | interface { ethernet interface | port-channel interface } | vlan VLAN_ID]
show loop-detection [ disabled-ports | globals | interface { ethernet interface | port-channel interface } | vlan VLAN_ID | bridge-domain BD-ID]

Parameters

disabled-ports
Displays the ports that are disabled by LD.
globals
Displays global LD configuration values.
interface
Specifies an Ethernet or port-channel interface.
ethernetinterface
Specifies an Ethernet interface.
port-channelinterface
Specifies a port-channel interface.
vlanVLAN_ID
Specifies a VLAN.
bridge-domainBD_ID
Specifies a bridge domain.

Modes

Privileged EXEC mode

Examples

The following example displays LD information at the system level.

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:                   0/7

Packet Statistics:
vlan            sent            rcvd        disable-count
100             100             0           0

The following example displays ports disabled by LD.

device# show loop-detection disabled-ports
Ports disabled by loop detection
-------------------------------------------
port       age(min)       disable cause
0/6        5              Disabled by Self    

The following example displays global LD configuration values.

device# show loop-detection globals
Loop Detection:                 Disabled
Shutdown-time (minutes):        0
Hello-time (msec):              1000
Raslog-duration (minutes):      10

The following example displays LD configuration values for an Ethernet interface.

device# show loop-detection interface ethernet 0/6
Number of LD instances:  1
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

The following example displays LD configuration values, including logical interfaces (LIFs), for a VLAN VXLAN tunnel.

device# show loop-detection vlan 20
Number of LD instances: 1
LIF (Logical Interface) Disabled on Ports: eth0/2,VxLAN Tunnel 61441

Packet Statistics:
vlan            sent            rcvd
20              44225           2

The following example displays LD configuration values for a VLAN VXLAN tunnel if LD shutdown is disabled.

device# show loop-detection vlan 20
Number of LD instances: 1
LIF (Logical Interface) ShutDown is disabled for VLAN 20

Packet Statistics:
vlan            sent            rcvd
20              10              10

The following example displays LD configuration values for a BD VXLAN tunnel.

device# show loop-detection bridge-domain 8
Number of LD instances:   1
LIF (Logical Interface) Disabled on Ports: eth0/2…

Packet Statistics:
BD            sent            rcvd           
8             100             1