< Home

efm error-frame-second threshold

Function

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

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

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

Format

efm error-frame-second threshold threshold

undo efm error-frame-second threshold

Parameters

Parameter Description Value

threshold

Specifies the threshold for detecting EFM errored frame seconds.

The value is an integer that ranges from 0 to 900. 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-second period period command is executed to set the threshold for detecting EFM errored frame seconds on an interface, run the efm error-frame-second threshold threshold command to set the threshold for detecting errored frame seconds. Run the efm error-frame-second notification enable command to enable an interface to detect EFM errored frame seconds. When the number of detected errored frame seconds 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 frame seconds on Layer 2 interface GigabitEthernet0/0/1 to 10.

<HUAWEI> system-view
[HUAWEI] efm enable
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] efm error-frame-second threshold 10
Info: Operation succeeded.

# Set the threshold for detecting EFM errored frame seconds on Layer 3 interface GigabitEthernet0/0/1 to 10.

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