efm error-frame-period

Function

The efm error-frame-period period command sets an errored frame detection interval for an interface to use EFM to detect errored frames among a specified number of received frames.

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

By default, the errored frame detection interval is 200000 frames.

Format

efm error-frame-period period period

undo efm error-frame-period period

Parameters

Parameter Description Value
period period

Specifies an errored frame detection interval for an interface to use EFM to detect errored frames among a specified number of received frames.

The value is an integer ranging from 1 to 4294967295 , in frames.

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-period notification enable command is run to enable a device to notify its peer device of errored frames that EFM periodically detects, run the efm error-frame-period command to enable an interface to use EFM to detect errored frames among a specified number of frames that the interface receives. If the number of detected errored frames among the specified number of received frames reaches or exceeds the threshold, the interface generates an alarm and sends a notification to its peer device.

Prerequisites

EFM has been enabled on an interface using the efm enable command in the interface view.

Example

# Enable GE 0/1/0 to use EFM to detect errored frames among 300000 frames received by the interface.
<HUAWEI> system-view
[~HUAWEI] efm enable
[*HUAWEI] interface GigabitEthernet0/1/0
[*HUAWEI-GigabitEthernet0/1/0] efm enable
[*HUAWEI-GigabitEthernet0/1/0] efm error-frame-period period 300000
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >