< Home

efm error-frame-second period

Function

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

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

By default, the period for detecting EFM errored frame seconds on an interface is 60s.

Format

efm error-frame-second period period

undo efm error-frame-second period

Parameters

Parameter Description Value

period

Specifies the period for detecting EFM errored frame seconds.

The value is an integer that ranges from 10 to 900, in seconds. The default value is 60s.

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 run to set the period for detecting EFM errored frame seconds on an interface, 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 a preset 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 period for detecting EFM errored frame seconds on Layer 2 interface GigabitEthernet0/0/1 to 20s.

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

# Set the period for detecting EFM errored frame seconds on Layer 3 interface GigabitEthernet0/0/1 to 20s.

<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 period 20
Info: Operation succeeded.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >