# ethernet oam lfm mode

#### Syntax

[ no ] ethernet oam lfm mode { active | passive } [ pdu-lost-threshold
pduLostPackets ]

#### Release Information

Command introduced in JunosE Release 11.1.0.

#### Description

Configures the discovery mode to be used for IEEE 802.3ah OAM link-fault management support on an interface as active or passive. Also, configures the number of OAM packet data units (PDUs) from the remote peer that an interface on the local client can miss before the link between the two entities is considered down. The default mode of the interface on the OAM client is active. The no version disables discovery, deactivating link-fault management functionality on the interface.

#### Options

- mode—Configures the OAM client mode for the discovery process
- active—Sets the discovery mode of the local OAM client as active. In active mode, the interface discovers and monitors the peer on the link if the peer also supports IEEE 802.3ah OAM functionality. This is the default discovery mode of the OAM client
- passive—Sets the discovery mode of the local OAM client as passive. In passive mode, an OAM entity does not initiate the discovery process. You cannot perform link-fault management if you configure both the local client and the remote peer for passive mode operation
- pduLostPackets—The window for which the local client waits to receive OAM packets from the remote peer before it generates a link fault event. Number of expected OAM packets from the remote peer that the local OAM client can miss before a link-fault event is triggered; a number in the range 3–10; default value is 5

#### Mode

Interface Configuration

#### Related Documentation

- OAM Discovery Feature
- Guidelines for Configuring 802.3ah OAM Link-Fault Management
- Configuring 802.3ah OAM Link-Fault Management