Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

detect-loc

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
detect-loc;

Hierarchy Level

content_copy zoom_out_map
content_copy zoom_out_map
[edit protocols oam ethernet link-fault-management interface interface-name ]

Description

Specify whether Ethernet OAM continuity checks are performed for an individual remote maintenance end point (MEP).

When you configure the detect-loc statement at [edit protocols oam ethernet link-fault-management interface interface-name] hierarchy level, a loss-of-continuity (LOC) defect is raised when the peer is not found within a period that is equal to 3 times the current keepalive pdu interval. When an LOC defect is raised, a syslog error message is generated .

Note:

When you configure the detect-loc statement at the [edit protocols oam ethernet link-fault-management interface interface-name] hierarchy level, any action-profile configured to bring down the interface is executed when an LOC defect is detected. However, the action-profile is not executed if you have not configured detect-loc statement the detect-loc statement at the [edit protocols oam ethernet link-fault-management interface interface-name] hierarchy level.

To view the current LOC status of an interface, execute the show oam ethernet link-fault-management command.

Default

The MEP does not generate LOC defect messages by default.

Required Privilege Level

interface—To view this statement in the configuration.

interface-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 14.2.

footer-navigation