Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

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 3D Universal Edge Router 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.

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 Services

Using 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:

user@host> monitor ethernet delay-measurement one-way|two-way maintenance-domain domain-name maintenance-association ma-name mep remote-mep-id

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.
    [edit]user@host# set interfaces ge-1/2/3 vlan-tagging user@host# set interfaces ge-1/2/3 encapsulation flexible-ethernet-services user@host# set interfaces ge-1/2/3 unit 106 encapsulation vlan-bridge user@host# set interfaces ge-1/2/3 unit 106 vlan-id 106 user@host# set interfaces ge-1/2/3 unit 106 family bridge user@host# set interfaces irb unit 106 family inet address 10.132.11.1/24
  2. Configure the bridge domains.
    [edit]user@host# set bridge-domains vlan-106 domain-type bridge user@host# set bridge-domains vlan-106 vlan-id 106 user@host# set bridge-domains vlan-106 interface ge-1/2/3.106 user@host# set bridge-domains vlan-106 routing-interface irb.106
  3. Configure the VPN routing instances.
    [edit]user@host# set routing-instances acme instance-type vrf user@host# set routing-instances acme interface irb.106

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.
    [edit]user@host# set protocols oam ethernet connectivity-fault-management maintenance-domain Example-subscriber-md level 3
  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.
    [edit]user@host# set protocols oam ethernet connectivity-fault-management maintenance-domain Example-subscriber-md maintenance-association acme continuity-check interval 100ms user@host# set protocols oam ethernet connectivity-fault-management maintenance-domain Example-subscriber-md maintenance-association acme continuity-check hold-interval 1

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.
    [edit]user@host# set protocols oam ethernet connectivity-fault-management maintenance-domain Example-subscriber-md maintenance-association acme mep 201 interface ge-1/2/3.106 user@host# set protocols oam ethernet connectivity-fault-management maintenance-domain Example-subscriber-md maintenance-association acme mep 201 direction downuser@host# set protocols oam ethernet connectivity-fault-management maintenance-domain Example-subscriber-md maintenance-association acme mep 201 auto-discovery

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.
    [edit]user@host# set interfaces ge-0/0/10 unit 0 family ethernet-switching port-mode trunk user@host# set interfaces ge-0/0/9 unit 0 family ethernet-switching port-mode access user@host# set vlans vlan-106 vlan-id 106 user@host# set vlans vlan-106 interface ge-0/0/10.0 user@host# set vlans vlan-106 interface ge-0/0/9.0

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.
    [edit]user@host# set protocols oam ethernet connectivity-fault-management maintenance-domain Example-subscriber-md level 3
  2. Configure the continuity check.
    [edit]user@host# set protocols oam ethernet connectivity-fault-management maintenance-domain Example-subscriber-md maintenance-association acme continuity-check interval 100ms user@host# set protocols oam ethernet connectivity-fault-management maintenance-domain Example-subscriber-md maintenance-association acme continuity-check hold-interval 1

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.
    [edit]user@host# set protocols oam ethernet connectivity-fault-management maintenance-domain Example-subscriber-md maintenance-association acme mep 101 interface ge-0/0/10.0 user@host# set protocols oam ethernet connectivity-fault-management maintenance-domain Example-subscriber-md maintenance-association acme mep 101 interface vlan-id 106 user@host# set protocols oam ethernet connectivity-fault-management maintenance-domain Example-subscriber-md maintenance-association acme mep 101 direction down user@host# set protocols oam ethernet connectivity-fault-management maintenance-domain Example-subscriber-md maintenance-association acme mep 101 auto-discovery

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.
    [edit]user@host# set interfaces ge-0/0/23 unit 0 family ethernet-switching port-mode trunk user@host# set interfaces ge-0/0/2 unit 0 family ethernet-switching port-mode trunk user@host# set vlans vlan-106 vlan-id 106 user@host# set vlans vlan-106 interface ge-0/0/2.0user@host# set vlans vlan-106 interface ge-0/0/23.0

    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

Modified: 2015-11-05