< Home

display loop-detect

Function

The display loop-detect command displays blocking information about L2VPN loop detection.

Format

display loop-detect

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

After L2VPN loop detection is enabled on an interface by running the loop-detect enable command, you can run the display loop-detect command to check blocking information about L2VPN loop detection. The information helps determine whether loops occur on an L2VPN network, facilitating fault location.

Example

# Display blocking information about L2VPN loop detection on interfaces.

<HUAWEI> display loop-detect
----------------------------------------------------------------
Interface                     RecoverTime  Action      Status                      
-----------------------------------------------------------------
GigabitEthernet0/0/1.1       20           block       NORMAL                      
GigabitEthernet0/0/2.1       20           block       NORMAL                      
-----------------------------------------------------------------
Table 1 Description of the display loop-detect command output

Item

Description

Interface

Interface with L2VPN loop detection enabled. To enable L2VPN loop detection on an interface, run the loop-detect enable command.

RecoverTime

Period for restoring an interface to normal state. To specify this period, run the loop-detect recovery-time command.

Action

Action after an L2VPN loop is detected:
  • BLOCK: Block this interface.

Status

Status of an interface with L2VPN loop detection enabled:
  • NORMAL: No loop is detected.
  • BLOCK: A loop is detected, and the interface is blocked.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >