The efm error-frame-second notification enable command enables an interface to detect EFM errored frame seconds.
The undo efm error-frame-second notification enable command disables an interface from detecting EFM errored frame seconds.
By default, an interface is not enabled to detect EFM errored frame seconds.
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-second notification enable command enables an interface to detect EFM errored frame seconds. The local device considers a link faulty if the number of detected errored frame seconds 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 interface GigabitEthernet0/0/1 to detect errored frame seconds.
<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-second notification enable Info: Operation succeeded.
# Enable Layer 3 interface GigabitEthernet0/0/1 to detect errored frame seconds.
<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-second notification enable Info: Operation succeeded.