efm error-frame-second notification enable

Function

The efm error-frame-second notification enable command enables EFM OAM to detect and report errored frame seconds on an interface.

The undo efm error-frame-second notification enable command disables EFM OAM from detecting and reporting errored frame seconds on an interface.

By default, an interface is disabled from reporting and detecting errored frame seconds.

Format

efm error-frame-second notification enable

undo efm error-frame-second notification enable

Parameters

None

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

Fault detection on an Ethernet network is difficult when the physical connection on the network is not closed but network performance deteriorates gradually. Link monitoring is used to detect link layer faults in various environments. After EFM OAM link monitoring is configured, statistics about the physical layer data of the interface management module are queried to monitor the quality of the link connected to the current interface. EFM OAM link monitoring implements the following functions:

  • Reports an alarm when the number of bit errors detected during a specified detection interval exceeds the specified threshold.
  • Reports an alarm when the number of errored frames detected during a specified detection interval exceeds the specified threshold.
  • Reports an alarm when the number of errored frame seconds detected during a specified interval exceeds the specified threshold.

    To enable an interface to report detected errored frame seconds, run the efm error-frame-second notification enable command. The local device considers a link faulty if the number of detected errored frame seconds within the period specified by the efm error-frame-second period command reaches or exceeds the threshold specified by the efm error-frame-second threshold command. Then the local device generates an alarm, reports the alarm to the NMS, and sends an OAM PDU to notify the peer device of the link failure.

Prerequisites

EFM OAM has been globally enabled using the efm enable command in the system view.

Configuration Impact

After a local interface is enabled to report detected errored frame seconds, the local device generates a threshold-crossing event of errored frame seconds and reports the event to the remote device if the number of errored frame seconds detected on the interface reaches or exceeds the specified threshold.

Precautions

The specified threshold and period take effect only after the efm error-frame-second notification enable command is run.

The efm error-frame-second notification enable command takes effect only after EFM OAM is enabled on an interface.

The efm error-frame-second notification enable command can be used together with the efm error-frame-second period and efm error-frame-second threshold commands for errored frame second detection of a link.

Example

# Enable GE 0/1/0 to detect and report errored frame seconds.
<HUAWEI> system-view
[~HUAWEI] efm enable
[*HUAWEI] interface GigabitEthernet0/1/0
[*HUAWEI-GigabitEthernet0/1/0] efm enable
[*HUAWEI-GigabitEthernet0/1/0] efm error-frame-second notification enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >