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

oam (MX Series)

date_range 29-May-24

Syntax

content_copy zoom_out_map
oam {
    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 (100ms | 10m | 10ms | 10s | 1m | 1s);
                        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;
                            }
                        }
                    }
                }
            }
        }
        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;
                }
            }
        }
    }
}

Hierarchy Level

content_copy zoom_out_map
[edit protocols]

Description

For Ethernet interfaces on M320, M120, MX Series, and T Series routers and PTX Series Packet Transport Routers, provide IEEE 802.3ah Operation, Administration, and Maitenance (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.

Release Information

Statement introduced in Junos OS Release 8.2.

footer-navigation