efm error-code notification enable

Function

The efm error-code notification enable command enables EFM OAM to detect and report bit errors on an interface.

The undo efm error-code notification enable command disables EFM OAM from detecting and reporting bit errors on an interface.

By default, an interface is disabled from detecting and reporting detected bit errors.

Format

efm error-code notification enable

undo efm error-code 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 bit errors, run the efm error-code notification enable command. The local device considers a link faulty if the number of detected bit errors within the period specified by the efm error-code period command reaches or exceeds the threshold specified by the efm error-code 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 bit errors, the local device generates a threshold-crossing event of bit errors and reports the event to the remote device if the number of bit errors detected on the interface reaches or exceeds the specified threshold.

Precautions

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

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

The efm error-code notification enable command can be used together with the efm error-code period and efm error-code threshold commands for bit error detection on a link.

Example

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