The efm error-frame notification enable command enables an interface to detect EFM errored frames.
The undo efm error-frame notification enable command disables an interface from detecting EFM errored frames.
By default, an interface is not enabled to detect EFM errored frames.
Ethernet interface view, GE interface view, XGE interface view, 25GE interface view, 40GE interface view, 100GE interface view, MultiGE interface view, port group view
Usage Scenario
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-frame notification enable command enables an interface to detect EFM errored frames. The local device considers a link faulty if the number of detected errored frames 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.
# Enable Layer 2 interfaceGigabitEthernet0/0/1 to detect errored frames.
<HUAWEI> system-view [HUAWEI] efm enable [HUAWEI] interface gigabitethernet 0/0/1 [HUAWEI-GigabitEthernet0/0/1] efm enable [HUAWEI-GigabitEthernet0/0/1] efm error-frame notification enable Info: Operation succeeded.
# Enable Layer 3 interface GigabitEthernet0/0/1 to detect errored frames.
<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-frame notification enable Info: Operation succeeded.