You can set the error frame monitoring parameters to customize the threshold of link performance and to monitor link performance.
Context
After the OAM auto-discovery succeeds, set Error Frame Period Window (Frames) and Error Frame Monitor Threshold, and set Remote Alarm Support for Link Event to Enabled for the local equipment. If the local equipment detects a link event in
the receive direction, it informs the opposite equipment of the link event. If the remote alarm for the link event is also supported on the opposite end, the opposite equipment can also inform the local equipment of the link event that is detected
on the side of the opposite end. Then, the ETHOAM_RMT_SD alarm is reported on the local end, prompting the maintenance personnel to handle the link event.