< Home

display loopback-detect

Function

The display loopback-detect command displays the loopback detection configuration and status of loopback detection enabled interfaces.

Format

display loopback-detect

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

This command is used to check the loopback detection configuration and status of each interface on which loopback detection is enabled.

Example

# Display the loopback detection configuration and status of loopback detection enabled interfaces.

<HUAWEI> display loopback-detect
Loopback-detect sending-packet interval:  5                                                                                         
                                                                                                                                    
(A): Auto Loopback-detect                                                                                                           
-----------------------------------------------------------------                                                                   
Interface                     RecoverTime  Action     Status                                                                        
-----------------------------------------------------------------                                                     
GigabitEthernet0/0/1          30           quitvlan(A) NORMAL                     
----------------------------------------------------------------- 
Table 1 Description of the display loopback-detect command output

Item

Description

Loopback-detect sending-packet interval

Interval between sending loopback detection packets, in seconds. For details, see loopback-detect packet-interval.

Interface

Interface on which loopback detection is enabled.

RecoverTime

Interface recovery time, in seconds. For details, see loopback-detect recovery-time.

Action

Action performed when a loopback is detected on an interface:
  • block: blocks the interface. After the interface is blocked, it is isolated from other interfaces and does not forward received data packets to other interfaces.
  • nolearn: disables MAC address learning on the interface. When a loopback is detected on the interface, the interface stops learning MAC addresses.
  • shutdown: shuts down the interface. When a loopback is detected on an interface, the interface is shut down.
  • trap: only sends a trap. When a loopback is detected on an interface, the interface only sends a trap.
  • trap(A): only sends a trap. (A) indicates that automatic loopback detection is performed on an interface.
  • quitvlan: quits VLANs. When a loopback is detected on an interface, the interface exits from the VLAN in which a loop occurs.
  • quitvlan(A): quits VLANs. (A) indicates that automatic loopback detection is performed on an interface.

To specify the parameter, run the loopback-detect action or loopback-detect auto action command.

Status

Status of a loopback detection enabled interface:
  • NORMAL: No loopback is detected on the interface.
  • BLOCK: A loopback is detected on the interface and the interface is blocked.
  • NOLEARN: A loopback is detected on the interface and the MAC address learning is disabled on the interface.
  • SHUTDOWN: A loopback is detected on the interface and the interface is shut down.
  • TRAP: A loopback is detected on the interface and a trap is sent.
  • QUITVLAN: A loopback is detected on the interface and the interface exits from the VLAN in which a loop occurs.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >