In this example, LFM is configured between PE and CE. The PE can put the CE in remote loopback mode. This allows the PE to have all the traffic sent to the CE looped back for diagnostics purposes, as shown in Figure 16.
Figure 16: Ethernet LFM with Loopback Support

PE Router
Configure LFM loopback on the PE router:
- [edit]
- interfaces ge-1/0/0 {
-
- unit 0 {
-
- family inet {
- address 11.11.11.1/24;
- }
- }
- }
- protocols {
-
- oam {
-
- ethernet {
-
- link-fault-management {
-
- interface ge-1/0/0 {
- pdu-interval 1000;
- pdu-threshold 5;
- remote-loopback;
- }
- }
- }
- }
- }
CE Router
Configure LFM loopback on the CE router:
- [edit]
- interfaces ge-1/1/0 {
-
- unit 0 {
-
- family inet {
- address 11.11.11.2/24;
- }
- }
- }
- protocols {
-
- oam {
-
- ethernet {
-
- link-fault-management {
-
- interface ge-1/1/0 {
- pdu-interval 1000;
- pdu-threshold 5;
-
- negotiation-options {
- allow-remote-loopback;
- }
- }
- }
- }
- }
- }