< Home

display loop-detect interface

Function

The display loop-detect interface command displays blocking information about L2VPN loop detection on a specified interface.

Format

display loop-detect interface interface-type interface-number

Parameters

Parameter Description Value
interface-type interface-number Displays blocking information about L2VPN loop detection on a specified interface. Descriptions of the parameters are as follows:
  • interface-type specifies the interface type.
  • interface-number specifies the interface number.

The interface type and number can be closely next to each other or separated by a space character.

-

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 interface command to check blocking information about L2VPN loop detection on a specified interface. The information helps determine whether loops occur on an L2VPN network, facilitating fault location.

Example

# Display blocking information about L2VPN loop detection on GigabitEthernet0/0/1.1.

<HUAWEI> display loop-detect interface GigabitEthernet 0/0/1.1
Interface GigabitEthernet0/0/1.1 running information:
  IfIndex           : 0x5e
  PortType          : dot1q-termination
  VsiName           : a2
  AC State          : down
  Status            : normal
  LoopType          : -
  Recover-Time      : 20
  Recover-Tick      : 19
  Detect PE-VLAN ID : -
  Detect CE-VLAN ID : 106
  Looped CE-VLAN ID : -
Table 1 Description of the display loop-detect interface command output

Item

Description

IfIndex

Interface index.

PortType

Interface type.

VsiName

Name of the VSI that is bound to the interface.

AC State

AC state.

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.

LoopType

Type of the detected L2VPN loop:
  • ac-loopback: A self-loop is detected on an AC interface.
  • ac-loop: A loop is detected between two AC interfaces.
  • pw-loop: A loop is detected on a PW.
  • -: No loop is detected.

Recover-Time

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

Recover-Tick

Timer count for interface recovery. The value is in the range of 0 to the value specified by Recover-Time.

Detect PE-VLAN ID

  • Outer VLAN ID in loop detection packets when the interface is a QinQ termination sub-interface.
  • This field is displayed as - when the interface is a Dot1q termination sub-interface.
  • This field is displayed as - if no VLAN range is configured.

Detect CE-VLAN ID

  • Inner VLAN ID in loop detection packets when the interface is a QinQ termination sub-interface.
  • VLAN ID in loop detection packets when the interface is a Dot1q termination sub-interface.
  • This field is displayed as - if no VLAN range is configured.

Looped CE-VLAN ID

  • Inner VLAN ID in loop detection packets when the interface is a QinQ termination sub-interface and a loop is detected.
  • VLAN ID in loop detection packets when the interface is a Dot1q termination sub-interface and a loop is detected.
  • This field is displayed as - if no loop is detected.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >