# ethernet oam lfm link-monitor frame-seconds

#### Syntax

ethernet oam lfm link-monitor frame-seconds { threshold { high { highFrames | none } | low lowFrames } | window period }

no ethernet oam lfm link-monitor frame-seconds [ threshold { high { highFrames | none } | low lowFrames } | window period ]

#### Release Information

Command introduced in JunosE Release 11.1.0.

#### Description

Configures a threshold value for sending frame error events that triggers an action or causes an Errored Frame Event TLV to be sent to the OAM entity, or a period of time in which error frames are counted. The no version disables monitoring of received frame error events.

| Note: You can configure this command multiple times to configure combinations of high and low threshold values or a window period for frame error events.

#### Options

- link-monitor—Configures link monitoring parameters. Link monitoring operations start automatically when Ethernet OAM is enabled on an interface. When link monitoring operations are disabled, the interface does not actively send or receive Event Notification OAM PDUs
- frame-seconds—Configures the threshold value or window for frame error events
- threshold—Configures a period or a value at, above, or below which an action is triggered
- highFrames—Integer in the range 1–65535 that is the high threshold in number of frames, which when exceeded causes an action to be triggered. The action that the local OAM entity performs when the high threshold value is exceeded depends on the value configured using the ethernet oam lfm high-threshold command. There is no default value. If you specify a high threshold option for error frames, you must also enter the number of frames, which when exceeded causes the configured action to be taken
- none—Removes the high threshold value for error frames
- lowFrames—Integer in the range 0–65535 that is the low threshold in number of frames; default value is 0 frames. When this value is exceeded, an Errored Frame Event TLV is sent to the peer. If you do not configure a low threshold for frame error events, the Errored Frame Event TLV is not sent to the peer
- period—A window and period of time during which error frames are counted. Integer in the range 10–600 that represents a number of milliseconds in a multiple of 100; default value is 1000 milliseconds, which is denoted by specifying 10 units for the period variable in the CLI interface

#### Mode

Interface Configuration

#### Related Documentation

- ethernet oam lfm link-monitor symbol-period
- ethernet oam lfm link-monitor frame-seconds-summary
- OAM Link Monitoring Feature
- Configuring 802.3ah OAM Link-Fault Management
- Example: Configuring 802.3ah OAM Link-Fault Management and Enabling Remote Failure Monitoring on an Interface