efm loopback ignore-request

Function

The efm loopback ignore-request command enables an interface to ignore loopback requests sent by remote interfaces.

The undo efm loopback ignore-request command restores the default setting for the loopback function on an interface.

By default, an interface supports remote loopback. If an interface receives a loopback request sent by a remote interface, the interface enters the loopback state.

Format

efm loopback ignore-request

undo efm loopback ignore-request

Parameters

None

Views

Layer 2 100GE interface view, 100GE interface view, Layer 2 10GE interface view, 10GE interface view, 25GE-L2 view, 25GE interface view, 400GE-L2 view, 400GE interface view, Layer 2 40GE interface view, 40GE interface view, Layer 2 50GE interface view, 50GE interface view, FlexE interface view, Layer 2 GE interface view, GE optical interface view, GE interface view, GE electrical interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
efm write

Usage Guidelines

Usage Scenario

Remote loopback is used to monitor link quality and locate link faults. Periodic loopback detection helps detect network faults promptly.

If an interface is in the loopback state, the interface loops back all received traffic, causing traffic interruptions and imposing attacks. To prevent the preceding problems, the efm loopback ignore-request command can be used to enable the interface to reject a remote Ethernet OAM loopback request carried in a loopback control OAM PDU sent by a remote interface.

Prerequisites

EFM has been enabled on an interface using efm enable, and the interface is not in the loopback state.

Configuration Impact

After the efm loopback ignore-request command is run on an interface, the interface will discard an OAM PDU carrying a remote loopback request.

Example

# Enable GE 0/1/0 to ignore loopback requests sent by a remote interface.
<HUAWEI> system-view
[~HUAWEI] efm enable
[*HUAWEI] interface GigabitEthernet 0/1/0
[*HUAWEI-GigabitEthernet0/1/0] efm enable
[*HUAWEI-GigabitEthernet0/1/0] commit
[~HUAWEI-GigabitEthernet0/1/0] efm loopback ignore-request
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >