Ethernet OAM link fault management (LFM) can be used for physical link-level fault detection and management. The IEEE 802.3ah LFM works across point-to-point Ethernet links either directly or through repeaters.
To configure Ethernet OAM LFM using the CLI:
[edit protocols oam ethernet link-fault-management]
user@switch# set interface interface-name
![]() | Note: The remaining steps are optional. You can choose which of these features to configure for Ethernet OAM LFM on your switch. |
[edit protocols oam ethernet link-fault-management]
user@switch# set interface interface-name link-discovery active [edit protocols oam ethernet link-fault-management]
user@switch# set interface pdu-interval interval [edit protocols oam ethernet link-fault-management]
user@switch# set interface interface-name pdu-threshold threshold-value [edit protocols oam ethernet link-fault-management]
user@switch# set interface interface-name event-thresholds
frame-error
count
[edit protocols oam ethernet link-fault-management]
user@switch# set interface interface-name event-thresholds frame-period count
[edit protocols oam ethernet link-fault-management]
user@switch# set interface interface-name event-thresholds frame-period-summary count
[edit protocols oam ethernet link-fault-management]
user@switch# set interface interface-name event-thresholds symbol-period count
![]() | Note: You can disable the sending of link event TLVs. |
To disable the sending of link event TLVs:
[edit protocols oam ethernet link-fault-management]
user@switch# set interface interface-name negotiation-options no-allow-link-events [edit protocols oam ethernet link-fault-management]
user@switch# set action-profile profile-name
user@switch# set action-profile profile-name action link-down
[edit protocols oam ethernet link-fault-management]
user@switch# set action-profile profile-name event link-adjacency-loss
![]() | Note: For each action profile, you must specify at least one link event and one action. The actions are taken only when all of the events in the action profile are true. If more than one action is specified, all actions are executed. You can set a low threshold for a specific action such as logging the error and set a high threshold for another action such as system logging. |
[edit protocols oam ethernet link-fault-management]
user@switch# set interface interface-name remote-loopback user@switch# set interface interface-name negotiation-options allow-remote-loopback