Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

Example: Configuring IEEE 802.3ah OAM Support for an Interface

Junos OS for ACX Series routers allows the Ethernet interfaces on these routers to support the IEEE 802.3ah standard for the Operation, Administration, and Maintenance (OAM) of Ethernet in access networks. The standard defines OAM link fault management (LFM). You can configure IEEE 802.3ah OAM LFM on point-to-point Ethernet links that are connected either directly or through Ethernet repeaters.

This example describes how to enable and configure OAM on a Gigabit Ethernet interface.

Requirements

This example uses the following hardware and software components:

  • Junos OS Release 12.2 or later for ACX Series routers.
  • An ACX1000 or ACX2000 router.

Overview and Topology

In this example, you configure a 10-Gigabit Ethernet interface on an ACX Series router with 802.3ah OAM support, which includes: link discovery, protocol data units (PDUs), remote loopback, negotiation, and event thresholds.

Configuring IEEE 802.3ah OAM on an ACX Series Router

CLI Quick Configuration

To quickly configure IEEE 802.3ah Ethernet OAM, copy the following commands and paste them into the CLI:

editedit protocols oam ethernet link-fault-managementset interface xe-0/0/0 link-discovery active pdu-interval 800 pdu-threshold 4 remote-loopback negotiation-options allow-remote-loopbackset interface xe-0/0/0 event-thresholds frame-error 30 frame-period 50 frame-period-summary 40 symbol-period 20

Step-by-Step Procedure

To configure IEEE 802.3ah OAM support on an interface:

  1. Enable IEEE 802.3ah OAM support on an interface:
    [edit protocols oam ethernet link-fault-management] 

    user@router1# set interface (OAM Link-Fault Management) xe-0/0/0

  2. Specify that the interface initiates the discovery process by setting the link discovery mode to active:

    user@router# set interface xe-0/0/0 link-discovery active

  3. Set the periodic OAM PDU-sending interval (in milliseconds) to 800:

    user@router# set interface xe-0/0/0 pdu-interval 800

  4. Define the number of OAM PDUs to miss before an error is logged as 4:

    user@router# set interface xe-0/0/0 pdu-threshold 4

  5. Configure the remote interface into loopback mode so that all frames except OAM PDUs are looped back without any changes:

    user@router# set interface xe-0/0/0 remote-loopback

  6. Configure remote loopback support for the local interface:

    user@router# set interface xe-0/0/0 negotiation-options allow-remote-loopback

  7. Set the threshold count for sending frame error events to 30:

    user@router# set interface xe-0/0/0 event-thresholds frame-error 30

  8. Set the threshold count for sending frame period error events to 50:

    user@router# set interface xe-0/0/0 event-thresholds frame-period 50

  9. Configure the threshold count for sending frame period summary error events to 40:

    user@router# set interface xe-0/0/0 event-thresholds frame-period-summary 40

  10. Set the threshold count for sending symbol period events to 20:

    user@router# set interface xe-0/0/0 event-thresholds symbol-period 20

Results

Check the results of the configuration:

[edit]

user@router# show
[edit]
protocols {oam {ethernet {link-fault-management {interface xe-0/0/0 {link-discovery active;pdu-interval 800;pdu-threshold 4;remote-loopback;negotiation-options {allow-remote-loopback;}event-thresholds {frame-error 30;frame-period 50;frame-period-summary 40;symbol-period 20;}}}}}}

Published: 2013-01-11