efm error-frame period

Function

The efm error-frame period command configures a period during which errored frames are detected on an interface.

The undo efm error-frame period command restores the default period.

The default period is 1 second.

Format

efm error-frame period period

undo efm error-frame period

Parameters

Parameter Description Value
period

Specifies a period during which errored frames are detected.

The value is an integer ranging from 1 to 60, in seconds.

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

After the efm error-frame notification enable command is run, you can run the efm error-frame period command to specify a period during which errored frames are detected. When the number of detected errored frames within the period specified by period parameter reaches or exceeds a specified threshold, the local device generates an alarm and notifies the peer device of the alarm event.

Prerequisites

EFM OAM has been globally enabled using the efm enable command in the system view.

Configuration Impact

After a local interface is enabled to report detected errored frames, the local device generates a threshold-crossing event of errored frames and reports the event to the remote device if the number of errored frames detected on the interface reaches or exceeds the specified threshold.

Precautions

If the link quality is poor and the period during which errored frames are detected is too short, the local device may frequently send the threshold-crossing event of errored frames to the remote device. If the specified period is too long, link monitoring may be of little effect. Therefore, the period during which errored frames are detected must be set properly based on the link quality.

Example

# Set a period during which errored frames are detected to 20 seconds on GE 0/1/0.
<HUAWEI> system-view
[~HUAWEI] efm enable
[*HUAWEI] interface GigabitEthernet0/1/0
[*HUAWEI-GigabitEthernet0/1/0] efm error-frame period 20
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >