# Example: Enabling Remote Loopback Support on the Local Interface

You can allow a remote entity to set a local interface into remote loopback mode on all Ethernet interfaces on the E Series routers in which OAM link-fault management support is present. When a remote-loopback request is sent by a remote entity, the JunosE Software places the local interface into loopback mode. When an interface is in loopback mode, all frames except OAM PDUs are looped back without any changes to the frames. OAM PDUs continue to be sent to the management plane and processed. By default, the remote loopback feature is not enabled.

The following example configures the Gigabit Ethernet interface for OAM link-fault management and enables it to be placed in remote loopback mode to respond to loopback requests from the peer.

host1(config)#interface gigabitEthernet 4/1 host1(config-if)#ethernet oam lfm host1(config-if)#ethernet oam lfm remote-loopback supported

#### Related Documentation

- OAM Remote and Local Loopback Feature
- ethernet oam lfm
- ethernet oam lfm remote-loopback supported