efm (interface view)

Function

The efm command sets an interval at which an interface sends EFM OAM PDUs.

The undo efm command restores the default interval.

By default, the interval is 1000 milliseconds.

Format

efm interval interval-value

undo efm interval

Parameters

Parameter Description Value
interval

Specifies an interval at which an interface sends OAM PDUs.

The value can only be interval.

interval-value

Specifies an interval at which an interface sends OAM PDUs.

The value is an integer ranging from 100 to 1000, in milliseconds. The step is 100 milliseconds.

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

You can run the efm interval command to change an interval at which an interface sends OAM PDUs. The efm command is usually used together with the efm timeout command.

Prerequisites

EFM OAM has been globally enabled but has not been enabled on an interface.

Configuration Impact

An interface sends OAM PDUs at the configured interval.

Precautions

When setting an interval at which an interface sends OAM PDUs, ensure that the same interval is set for interfaces on both ends of a link. Otherwise, EFM session negotiation may fail, or the EFM session may flap.

The interval at which an interface sends OAM PDUs cannot be changed after EFM OAM is enabled on the interface.

Example

# Set an interval at which GE 0/1/1 sends OAM PDUs to 500 milliseconds.
<HUAWEI> system-view
[~HUAWEI] efm enable
[*HUAWEI] interface GigabitEthernet0/1/1
[*HUAWEI-GigabitEthernet0/1/1] efm interval 500
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >