You can configure remote loopback to check link connectivity, test the packet loss ratio of a physical link, and take effective measures to ensure link performance.
EFM OAM provides link-level loopback. During loopback, interfaces at both ends of a link can analyze loopback statistics to check whether the link is working properly. Periodically detecting loops helps to determine whether a link is working properly. On-demand loop detection helps to locate the specific scope where a fault occurs. In loopback mode, the local interface sends testing packets to the remote interface. Based on the numbers of sent packets and received packets, the local device computes communication quality parameters (such as the packet loss ratio of the current link) to determine link quality.
Remote loopback is initiated by the interface in active mode. In loopback mode, to check the connectivity, performance, or packet loss ratio of a link, you can perform this configuration task.
Configuring remote loopback affects service forwarding. Therefore, remote loopback must be configured on the link over which no service data is forwarded.
As shown in Figure 1, EFM OAM is configured on Device A and Device B, and remote loopback is configured on GE 0/1/1 of Device A. To test the packet loss ratio, send testing packets from Device A to Device B and observe the return results of the testing packets on Device A.
Before testing the packet loss ratio of a link, configure basic EFM OAM functions.