< Home

loopback-detect enable (system view)

Function

The loopback-detect enable command enables loopback detection on all interfaces.

The undo loopback-detect enable command disables loopback detection on all interfaces.

By default, loopback detection is disabled on all interfaces.

Format

loopback-detect enable

undo loopback-detect enable

Parameters

None

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenarios

When loopback detection needs to be enabled on all or most of interfaces on a device, you can use the loopback-detect enable command to simplify configuration.

Precautions

After you run the loopback-detect enable command in the system view, the CPU usage increases because all interfaces send broadcast loopback detection packets at intervals.

Loopback detection occupies CPU resources; therefore, disable this function when it is not required.

Follow-up Procedure

If loopback detection is not required on an interface, run the undo loopback-detect enable command in the interface view to disable loopback detection.

Example

# Enable loopback detection on all interfaces.

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