Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Example: Configuring MX Series Router Cloud CPE Services to Perform Ethernet Frame Delay Measurement Services

Before you begin, make sure you have completed the steps for the cCPE common configuration. See Configuring the Common Configuration for MX Series Router Cloud CPE Services.

Requirements

In this example, we use the following Juniper Networks hardware and software components:

  • MX Series 5G Universal Routing Platform for the PE router

  • EX Series Ethernet switch for the Layer 2 CPE

  • EX Series Ethernet switch for the aggregation switch

  • Junos OS Release 13.2 or later

Overview and Topology

This example shows you how to configure and perform Layer 2 jitter measurement with Ethernet frame delay measurement (ETH-DM) when you are using cCPE services. The configuration simulates an access network in which a Layer 2 CPE connects to a PE router through an aggregation switch. Complete the following high-level steps for this test configuration.

On the PE router:

  1. Configure the Layer 2 interface, IRB, bridge domain, and VPN routing instance.

  2. Configure the maintenance domain and maintenance association under the [edit protocols oam] hierarchy.

  3. Configure a maintenance end point (MEP) under the maintenance association, and bind the Layer 2 interface to it.

On the Layer 2 CPE:

  1. Configure Layer 2 interface and VLAN.

  2. Configure the same maintenance domain and maintenance association as those you specified for the PE router.

  3. Configure a maintenance end point (MEP) under the same maintenance association you configured for the PE router, and bind the Layer 2 interface to it.

On the aggregation switch:

  1. Configure a VLAN with two trunk ports to connect the PE router and Layer 2 CPE.

Topology

Figure 1 shows the example network setup for the Layer 2 jitter measurement:

Figure 1: Using MX Series Router Cloud CPE Ethernet Frame Delay Measurement ServicesUsing MX Series Router Cloud CPE Ethernet Frame Delay Measurement Services

Two maintenance end points (MEPs), one on interface ge-0/0/10 of the Layer 2 CPE and one on interface ge-1/2/3 on the PE router, are defined under the same maintenance association “acme” of maintenance domain “Example-subscriber-md.” You can initiate ETH-DM from either end to measure the delay and jitter.

To initiate the ETH-DM session run the command:

You can initiate the ETH-DM scan from either end to measure delay and jitter.

Configuring the MX Series Router (PE Router)

The following procedures explain how to configure the MX Series router so that you can perform Layer 2 jitter measurement with ETH-DM.

Configuring the Layer 2 Interface, IRB, Bridge Domain, and VPN Routing Instance

Step-by-Step Procedure

To configure the Layer 2 interface, IRB interface, bridge domains, and VPN routing instances:

  1. Configure the Layer 2 interface and IRB.

  2. Configure the bridge domains.

  3. Configure the VPN routing instances.

Configuring the Maintenance Domain and Maintenance Association

Step-by-Step Procedure

To configure the maintenance domain and maintenance association:

  1. Enable hardware timestamping to ensure accurate measurement.

  2. Create the maintenance domain and maintenance association.

  3. Enable the continuity check (CC). The CC interval and hold interval must be set to the same value on all MEPs in the same maintenance association.

Configuring the MEP Under the Maintenance Association

Step-by-Step Procedure

To configure the MEP:

  • Configure the MEP under the maintenance association, and bind the Layer 2 interface to it.

Configuring the EX Series Ethernet Switch (Layer 2 CPE)

The following procedures explain how to configure the EX Series Ethernet switch as a Layer 2 CPE device and perform Layer 2 jitter measurement with ETH-DM.

Configuring the Layer 2 Interface and VLANs

Step-by-Step Procedure

To configure the Layer 2 interface and VLANs:

  • Configure the Layer 2 interface and VLANs.

Creating the Maintenance Domain and Maintenance Association

Step-by-Step Procedure

  1. Configure the same maintenance domain and maintenance association as those you specified for the PE router.

  2. Configure the continuity check.

Creating the MEP

Step-by-Step Procedure

Create the MEP and assign the interface to it.

  • Configure a MEP under the same maintenance association you configured for the PE router, and bind the Layer 2 interface to it.

Configuring the Aggregation Switch

The following procedures describe how to configure the EX Series Ethernet switch as an aggregation switch and perform Layer 2 jitter measurement with ETH-DM.

Configuring the VLAN to Connect the PE Router and Layer 2 CPE

Step-by-Step Procedure

  • Configure a VLAN with two trunk ports to connect the PE router and Layer 2 CPE.

    Note:

    When the EX Series switch is used as an aggregation switch, you need to disable IGMP snooping or configure a firewall filter to allow CCM multicast packets to pass through the switch.

Verification

Verify the Layer 2 jitter measurement configuration by displaying the connectivity fault management (CFM) sessions at the PE router or CPE by entering the show oam ethernet connectivity-fault-management mep-database command.

Viewing CFM Sessions

Purpose

View CFM sessions.

Action

  • To view the CFM sessions, enter the following command at either the PE router or the switch: