< Home

efm error-code notification enable

Function

The efm error-code notification enable command enables an interface to detect EFM errored codes.

The undo efm error-code notification enable command disables an interface from detecting EFM errored codes.

By default, an interface is not enabled to detect EFM errored codes.

Format

efm error-code notification enable

undo efm error-code notification enable

Parameters

None

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

Monitoring Ethernet links is difficult if network performance deteriorates while traffic is being transmitted over physical links. Link monitoring is used to detect link layer faults in various environments. After EFM link monitoring is configured, the device queries statistics about the physical layer data of the interface management module to monitor the quality of the link connected to an interface. EFM link monitoring implements the following functions:
  • Reports an alarm when the number of errored codes detected during a specified detection interval exceeds the preset threshold.

  • Reports an alarm when the number of errored frames detected during a specified detection interval exceeds the preset threshold.

  • Reports an alarm when the number of errored frame seconds detected during a specified interval exceeds the preset threshold.

The efm error-code notification enable command enables an interface to detect EFM errored codes. The local device considers a link faulty if the number of detected errored codes within the detection interval reaches or exceeds the preset threshold. 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 has been enabled globally and on an interface using the efm enable command.

Example

# Enable Layer 2 interface GigabitEthernet0/0/1 to detect errored codes.

<HUAWEI> system-view
[HUAWEI] efm enable
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] efm enable
[HUAWEI-GigabitEthernet0/0/1] efm error-code notification enable
Info: Operation succeeded.

# Enable Layer 3 interface GigabitEthernet0/0/1 to detect errored codes.

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