< Home

loopback-detect auto disable

Function

The loopback-detect auto disable command disables automatic LBDT.

The undo loopback-detect auto disable command enables automatic LBDT.

By default, automatic LBDT is enabled.

Format

loopback-detect auto disable

undo loopback-detect auto disable

Parameters

None

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When an interface changes from Down to Up, a loop may occur. You can enable automatic LBDT. The device then immediately detects loops and reports the corresponding alarm. When the switch is enabled with MAC address flapping detection, if MAC address flapping is detected, LBDT is triggered automatically to detect loops in the VLAN where MAC address flapping occurs.

Precautions

  • When the switch is upgraded from an earlier version to V200R009 or later, automatic loop detection is disabled by default.
  • The device enabled with automatic LBDT automatically reports an alarm when detecting a loop. After the loop is eliminated, the device automatically reports a clear alarm. The time for reporting a clear alarm is one or two times the recovery time. The recovery time can be configured using the loopback-detect recovery-time command. The default value is three detection intervals, that is, 15s.

  • When automatic LBDT is enabled, all interfaces where the loopback-detect enable command is not configured periodically to send detection packets with the PVID to detect loops, consuming CPU resources. If no loop occurs on a network, run the loopback-detect auto disable command to disable automatic LBDT to reduce resource consumption.

Example

# Enable automatic LBDT.

<HUAWEI> system-view
[HUAWEI] undo loopback-detect auto disable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >