efm error-frame-period threshold

Function

The efm error-frame-period threshold command sets a threshold for an interface to use EFM to periodically detect errored frames.

The undo efm error-frame-period threshold command restores the default threshold for an interface to use EFM to periodically detect errored frames.

The default threshold is 1.

Format

efm error-frame-period threshold threshold

undo efm error-frame-period threshold

Parameters

Parameter Description Value
threshold

Specifies a threshold for an interface to use EFM to periodically detect errored frames.

The value is an integer that ranges from 0 to 4294967295.

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 an interface to notify its peer device of errored frames that EFM periodically detects, run the efm error-frame-period period command to set an interval for the interface to use EFM to periodically detect errored frames. In addition, a threshold can be configured using the efm error-frame-period threshold command. If the number of errored frames that EFM detects on the interface within the specified interval reaches the threshold, the interface generates an alarm and notifies its peer device of the event.

Prerequisites

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

Example

# Set a threshold for errored frames that EFM periodically detects on GE 0/1/0 to 100.
<HUAWEI> system-view
[~HUAWEI] efm enable
[*HUAWEI] interface GigabitEthernet0/1/1
[*HUAWEI-GigabitEthernet0/1/0] efm enable
[*HUAWEI-GigabitEthernet0/1/0] efm error-frame-period threshold 100
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >