< Home

efm error-frame threshold

Function

The efm error-frame threshold command sets the threshold for detecting EFM errored frames on an interface.

The undo efm error-frame threshold command restores the default threshold for detecting EFM errored frames on an interface.

By default, the threshold for detecting EFM errored frames on an interface is 1.

Format

efm error-frame threshold threshold

undo efm error-frame threshold

Parameters

Parameter Description Value

threshold

Specifies the threshold for detecting EFM errored frames.

The value is an integer that ranges from 0 to 65535. The default value is 1. The value 0 is not recommended.

Views

Ethernet interface view, GE interface view, XGE interface view, 25GE interface view, 40GE interface view, 100GE interface view, MultiGE interface view, port group view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

After the efm error-frame period period command is executed to set the period for detecting EFM errored frames on an interface, run the efm error-frame threshold threshold command to set the threshold for detecting errored frames. Run the efm error-frame notification enable command to enable an interface to detect EFM errored frames. When the number of detected errored frames during the period reaches or exceeds the threshold specified by threshold, the local device generates an alarm and notifies the peer device of the alarm event.

Prerequisites

EFM has been enabled globally using the efm enable command.

Example

# Set the threshold for detecting EFM errored frames on interface GigabitEthernet0/0/1 to 100.

<HUAWEI> system-view
[HUAWEI] efm enable
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] efm error-frame threshold 100
Info: Operation succeeded.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >