26Configuring errored frame period event detectionAn errored frame period event occurs if the number of frame errors received in a specified period(the period is specified as a number of received frames) exceeds the predefined threshold.To configure errored frame period event detection:To do… Use the command… Remarks1. Enter system view system-view —2. Configure the errored frameperiod event detection periodoam errored-frame-periodperiod period-valueOptional1000 milliseconds by default3. Configure the errored frameperiod event triggeringthresholdoam errored-frame-periodthreshold threshold-valueOptional1 by defaultConfiguring errored frame seconds event detectionAn errored frame seconds event occurs when the number of errored frame seconds detected on aport over a detection interval exceeds the error threshold.To configure errored frame seconds event detection:To do… Use the command… Remarks1. Enter system view system-view —2. Configure the errored frameseconds event detectionintervaloam errored-frame-secondsperiod period-valueOptional60 second by default3. Configure the errored frameseconds event triggeringthresholdoam errored-frame-secondsthreshold threshold-valueOptional1 by defaultMake sure the errored frame seconds triggering threshold is less than the errored frame seconds detectioninterval. Otherwise, no errored frame seconds event can be generated.Enabling OAM remote loopbackAfter enabling OAM remote loopback on a port, you can send loopback frames from the port toa remote port, and observe how many of these loopback frames are returned. Then you canevaluate link performance by calculating the packet loss ratio on the link.To enable Ethernet OAM remote loopback: