Configuring Link Monitoring
You can configure errored frame, errored code, or errored frame second detection to detect link-layer faults.
Usage Scenario
Ethernet fault detection is quite difficult to implement, especially when the physical communication is not interrupted but network performance slowly deteriorates.
- Link fault: If link signals of the remote device are lost, an OAM PDU is sent every second.
- Critical event: If an uncertain urgent event occurs, OAM PDUs are sent immediately and continuously.
(Optional) Configuring Errored Frame Detection
If the number of errored frames detected on the local interface reaches or exceeds a configured threshold within a specified interval, the local device reports the fault to the remote device.
Context
If a device's interface has been enabled to report detected errored frames and the number of errored frames detected on the interface reaches or exceeds a configured threshold within a specified interval, the device generates a threshold-crossing event of errored frames and reports the event to the remote device.
Procedure
- Run system-view
The system view is displayed.
- Run interface interface-type interface-number
The view of the interface at one end of a link is displayed.
- Run efm error-frame period period
The interval at which errored frames are checked is set.
- Run efm error-frame threshold threshold
The threshold for the number of detected errored frames is set.
- Run efm error-frame notification enable
The interface is enabled to detect and report the detected errored frames.
- Run commit
The configuration is committed.
(Optional) Configuring Errored Code Detection
If the number of errored codes detected on the local interface reaches or exceeds a configured threshold within a specified interval, the local device reports the fault to the remote device.
Context
If a device's interface has been enabled to report detected errored codes and the number of errored codes detected on the interface reaches or exceeds a configured threshold within a specified interval, the device generates a threshold-crossing event of errored codes and reports the event to the remote device.
Procedure
- Run system-view
The system view is displayed.
- Run interface interface-type interface-number
The view of the interface at one end of a link is displayed.
- Run efm error-code period period
The interval at which errored codes are checked is set.
- Run efm error-code threshold threshold
The threshold for the number of detected errored codes is set.
- Run efm error-code notification enable
The interface is enabled to detect and report the detected errored codes.
- Run commit
The configuration is committed.
(Optional) Configuring Errored Frame Second Detection
If the number of errored frame seconds detected on the local interface reaches or exceeds a configured threshold within a specified interval, the local device reports the fault to the remote device.
Context
An errored frame second is a 1-second interval during which at least one errored frame is detected.
If a device's interface has been enabled to report detected errored frame seconds and the number of errored frame seconds detected on the interface reaches or exceeds a configured threshold within a specified interval, the device generates a threshold-crossing event of errored frame seconds and reports the event to the remote device.
Procedure
- Run system-view
The system view is displayed.
- Run interface interface-type interface-number
The view of the interface at one end of a link is displayed.
- Run efm error-frame-second period period
The interval at which errored frame seconds are checked is set.
- Run efm error-frame-second threshold threshold
The threshold for the number of detected errored frame seconds is set.
- Run efm error-frame-second notification enable
The interface is enabled to detect and report the detected errored frame seconds.
- Run commit
The configuration is committed.
(Optional) Configuring Periodic EFM Errored Frame Detection
If the number of errored frames that an EFM-enabled interface detects within a configured detection period reaches or exceeds a configured threshold, the interface notifies its peer interface of the errored frame fault.
Procedure
- Run system-view
The system view is displayed.
- Run interface interface-type interface-number
The view of the interface at one end of a link is displayed.
- Run efm error-frame-period notification enable
The interface is enabled to detect and notify its peer device of errored frames that EFM periodically detects.
- Run efm error-frame-period period period
The interval at which EFM detects errored frames on the interface is set.
- Run efm error-frame-period threshold threshold
The alarm threshold for errored frames that EFM periodically detects on the interface is set.
- Run commit
The configuration is committed.