Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Example: Configure Ethernet OAM Connectivity Fault Management on EX Series Switches

Ethernet interfaces on EX Series switches and Junos OS for EX Series switches support the IEEE 802.1ag standard for Operation, Administration, and Management (OAM). The IEEE 802.1ag specification provides for Ethernet connectivity fault management (CFM).

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

Requirements

This example uses the following hardware and software components:

  • Junos OS Release 10.2 or later for EX Series switches

  • Two EX Series switches connected by a point-to-point Gigabit Ethernet link

Overview and Topology

CFM can be used to monitor the physical link between two switches. In the following example, two switches are connected by a point-to-point Gigabit Ethernet link. The link between these two switches is monitored using CFM.

Configuring Ethernet OAM Connectivity Fault Management on Switch 1

CLI Quick Configuration

To quickly configure Ethernet OAM CFM, copy the following commands and paste them into the switch terminal window:

Procedure

Step-by-Step Procedure

To enable and configure OAM CFM on switch 1:

  1. Specify the maintenance domain name format:

  2. Specify the maintenance domain name and the maintenance domain level:

  3. Create a maintenance association:

  4. Enable the continuity check protocol and specify the continuity check hold interval:

  5. Configure the maintenance association end point (MEP):

Results

Check the results of the configuration.

Configuring Ethernet OAM Connectivity Fault Management on Switch 2

CLI Quick Configuration

To quickly configure Ethernet OAM CFM, copy the following commands and paste them into the switch terminal window:

Procedure

Step-by-Step Procedure

The configuration on switch 2 mirrors that on switch 2.

  1. Specify the maintenance domain name format:

  2. Specify the maintenance domain name and the maintenance domain level:

  3. Create a maintenance association:

  4. Enable the continuity check protocol and specify the continuity check hold interval:

  5. Configure the maintenance association end point (MEP)

Results

Check the results of the configuration.

Verification

To confirm that the configuration is working properly, perform these tasks:

Verifying That OAM CFM Has Been Configured Properly

Purpose

Verify that OAM CFM has been configured properly.

Action

Use the show oam ethernet connectivity-fault-management interfaces detail command:

Sample Output
command-name

Meaning

When the output displays that continuity-check status is enabled and displays details of the remote MEP, it means that connectivity fault management (CFM) has been configured properly.