ethernet (Protocols OAM)
Syntax: MX, T, ACX Series Routers, SRX Firewalls, M320 and EX Series Switches
ethernet { connectivity-fault-management { action-profile profile-name { default-actions { interface-down; } } performance-monitoring { delegate-server-processing; hardware-assisted-timestamping; hardware-assisted-keepalives; sla-iterator-profiles { profile-name { avg-fd-twoway-threshold; avg-ifdv-twoway-threshold; avg-flr-forward-threshold; avg-flr-backward-threshold; disable; calculation-weight { delay delay-weight; delay-variation delay-variation-weight; } cycle-time milliseconds; iteration-period connections; measurement-type (loss | statistical-frame-loss | two-way-delay); } } } linktrace { age (30m | 10m | 1m | 30s | 10s); path-database-size path-database-size; } maintenance-domain domain-name { level number; name-format (character-string | none | dns | mac+2octet); maintenance-association ma-name { short-name-format (character-string | vlan | 2octet | rfc-2685-vpn-id); protect-maintenance-association protect-ma-name; remote-maintenance-association remote-ma-name; continuity-check { convey-loss-threshold; hold-interval minutes; interface-status-tlv; interval (10m | 10s | 1m | 1s| 100ms); loss-threshold number; port-status-tlv; } mep mep-id { auto-discovery; direction (up | down); interface interface-name (protect | working); lowest-priority-defect (all-defects | err-xcon | mac-rem-err-xcon | no-defect | rem-err-xcon | xcon ); priority number; remote-mep mep-id { action-profile profile-name; sla-iterator-profile profile-name { data-tlv-size size; iteration-count count-value; priority priority-value; } } } } } } evcs evc-id { evc-protocol cfm management-domain domain-id (management-association association-id | vpls (routing-instance instance-id); remote-uni-count count; multipoint-to-multipoint; } link-fault-management { action-profile profile-name { action { link-down; send-critical-event; syslog; } event { link-adjacency-loss; link-event-rate { frame-error count; frame-period count; frame-period-summary count; symbol-period count; } protocol-down; } } interface interface-name { apply-action-profile; link-discovery (active | passive); loopback-tracking; pdu-interval interval; pdu-threshold threshold-value; remote-loopback; event-thresholds { frame-error count; frame-period count; frame-period-summary count; symbol-period count; } negotiation-options { allow-remote-loopback; no-allow-link-events; } } } lmi { status-counter count; polling-verification-timer value; interface name { uni-id uni-name; status-counter number; polling-verification-timer value; evc-map-type (all-to-one-bundling | bundling | service-multiplexing); evc evc-name { default-evc; vlan-list vlan-id-list; } } } }
Syntax: EX Series Switches and NFX Series Devices
ethernet { connectivity-fault-management { action-profile profile-name { action { interface-down; } default-actions { interface-down; } event { adjacency-loss; } } esp-traceoptions { file filename <files number> <no-stamp> <replace> <size size> <world-readable | no-world-readable>; flag (all |error | esp | interface | krt | lib |normal |task |timer); } linktrace { age (30m | 10m | 1m | 30s | 10s); path-database-size path-database-size; } maintenance-association domain-name { level number; mip-half-function (none | default |explicit); name-format (character-string | none | dns | mac+2oct); maintenance-association ma-name { continuity-check { hold-interval minutes; interface-status-tlv; interval (10m | 10s | 1m | 1s| 100ms); loss-threshold number; port-status-tlv; } mep mep-id { auto-discovery; direction down; interface interface-name; priority remote-mep mep-id { action-profile profile-name; sla-iterator-profile profile-name { data-tlv-size size; iteration-count count-value; priority priority-value; } } } short-name-format (character-string | vlan | 2octet | rfc-2685-vpn-id); } } performance-monitoring { sla-iterator-profiles { profile-name { calculation-weight { delay delay-value; delay-variation delay-variation-value; } cycle-time cycle-time-value; iteration-period iteration-period-value; measurement-type two-way-delay; passive; } } } traceoptions { file filename <files number> <match regex> <size size> <world-readable | no-world-readable>; flag flag ; no-remote-trace; } } link-fault-management { action-profile profile-name; action { syslog; link-down; } event { link-adjacency-loss; link-event-rate { frame-error count; frame-period count; frame-period-summary count; symbol-period count; } } interface interface-name { link-discovery (active | passive); pdu-interval interval; pdu-threshold threshold-value; remote-loopback; event-thresholds { frame-error count; frame-period count; frame-period-summary count; symbol-period count; } negotiation-options { allow-remote-loopback; no-allow-link-events; } } traceoptions { file filename <files number> <match regex> <size size> <world-readable | no-world-readable>; flag flag ; no-remote-trace; } } }
Hierarchy Level
[edit protocols oam]
Description
Provide IEEE 802.3ah Operation, Administration, and Maintenance (OAM) support for Ethernet interfaces or configure connectivity fault management (CFM) for IEEE 802.1ag Operation, Administration, and Management (OAM) support.
The remaining statements are explained separately. See CLI Explorer.
Required Privilege Level
interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.
routing—To view this statement in the configuration.routing-control—To add this statement to the configuration.
Release Information
Statement introduced in Junos OS Release 8.2.
connectivity-fault-management
introduced in Junos
OS Release 10.2 for EX Series switches.