loopback-detect enable

Function

The loopback-detect enable command enables the self-loop detection function on an interface.

The undo loopback-detect enable command disables the self-loop detection function on the interface.

By default, the self-loop detection function is disabled on the interface.

Format

loopback-detect enable

undo loopback-detect enable

Parameters

None

Views

100GE interface view, 400GE interface view, 40GE interface view, Eth-Trunk member interface view, GE interface view, GE electrical interface view, Management interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
vlan write

Usage Guidelines

Usage Scenario

To enable the self-loop detection function on an interface, run the loop-detect enable command. After the self-loop detection function is enabled, the self-loop on an interface can be detected and then the interface is blocked.

Example

# Enable the self-loop detection function on GE 0/1/0.
<HUAWEI> system-view
[~HUAWEI] interface GigabitEthernet 0/1/0
[~HUAWEI-GigabitEthernet0/1/0] loopback-detect enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >