Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Configure Ethernet Frame Loss Measurement

Use this topic to understand more about frame loss measurement and how to configure frame loss measurement.

Currently, loss measurement is not available for Multi-LU cards (MPC3E and MPC4E), and there are no command line interface restrictions for configuration.

Configuring Statistical Frame Loss Measurement for VPLS Connections

Using proactive statistical frame loss measurement, you can monitor VPLS connections on MX Series routers . Statistical frame loss measurement allows you to monitor the quality of Ethernet connections for service level agreements (SLAs). Point-to-point and multipoint-to-multipoint connections configured on MX Series routers can be monitored by registering the connection on an iterator and initiating periodic SLA measurement of frame transmissions on the connections.

Iterators periodically transmit SLA measurement packets using ITU-Y.1731 compliant frames. The iterator sends periodic measurement packets for each of the connections registered to it. These measurement cycles are transmitted in such a way as to not overlap, reducing the processing demands placed on the CPU. The measurement packets are exchanged between the source user network interface (UNI) port and the destination UNI port, providing a sequence of timed performance measurements for each UNI pair. The Frame Loss Ratio (FLR) and connection availability can be computed from these measurements using statistics.

The following steps outline how to configure statistical frame loss measurement for VPLS connections:

  1. To configure proactive ETH-DM measurement for a VPLS connection, see Guidelines for Configuring Routers to Support an ETH-DM Session.
  2. To enable statistical loss measurement for a VPLS connection, configure an iterator for the VPLS connection using the sla-iterator-profiles statement at the [edit protocols oam ethernet connectivity-fault-management performance-monitoring] hierarchy level. For detailed instructions, see Configuring an Iterator Profile.
  3. As part of the iterator configuration, include the statistical-frame-loss option for the measurement-type statement at the [edit protocols oam ethernet connectivity-fault-management performance-monitoring sla-iterator-profiles profile-name] hierarchy level.
  4. Once you have enabled the iterator, you can display the statistical frame loss for a VPLS connection by issuing the show oam ethernet connectivity-fault-management sla-iterator-statistics sla-iterator identifier maintenance-domain name maintenance-association name local-mep identifier remote-mep identifier command.

Managing ETH-LM Statistics

Displaying ETH-LM Statistics

Purpose

Display the ETH-LM statistics.

By default, the show oam ethernet connectivity-fault-management loss-statistics maintenance-domain md-name maintenance-association ma-name command displays ETH-LM statistics for MEPs in the specified CFM maintenance association (MA) within the specified CFM maintenance domain (MD).

The following list consists of the CFM-related operational mode commands that have been enhanced to display ETH-LM statistics:

  • The show oam ethernet connectivity-fault-management interfaces detail command is enhanced to display ETH-DM and ETH-LM statistics for MEPs in the specified CFM maintenance association (MA) within the specified CFM maintenance domain (MD).

  • The show oam ethernet connectivity-fault-management mep-statistics command is enhanced to display ETH-DM and ETH-LM statistics and frame counts for MEPs in the specified CFM maintenance association (MA) within the specified CFM maintenance domain (MD).

  • The show oam ethernet connectivity-fault-management mep-database command is enhanced to display ETH-DM and ETH-LM frame counters for MEPs in the specified CFM maintenance association (MA) within the specified CFM maintenance domain (MD).

Action

  • To display the ETH-LM statistics for all MEPs attached to CFM-enabled interfaces on the router:

  • To display the ETH-DM statistics collected for MEPs belonging to MA ma1 and within MD md1:

  • To display the ETH-DM statistics and ETH-DM frame counts for MEPs in MA ma1 and within MD md1:

  • To display CFM database information (including ETH-DM frame counts) for all MEPs in MA ma1 within MD md1:

Clearing ETH-LM Statistics

Purpose

Clear the ETH-LM statistics.

By default, statistics are deleted for all MEPs attached to CFM-enabled interfaces on the router. However, you can filter the scope of the command by specifying an interface name.

Action

  • To clear the ETH-LM statistics for all MEPs attached to CFM-enabled interfaces on the router:

Example: Measuring Ethernet Frame Loss for Single-Tagged LMM/LMR PDUs

This example illustrates how to configure Ethernet frame loss measurement (ETH-LM) for single-tagged Loss Measurement Message (LMM)/Loss Measurement Reply (LMR) protocol data units (PDUs). By configuring ETH-LM, you can measure the Ethernet frame loss that occur in your network.

Requirements

This example uses the following hardware and software components:

  • Two MX Series 5G Universal Routing Platforms with Rev-B Dense Port Concentrators (DPCs)

  • Junos OS Release 14.2 or later

Overview and Topology

Junos OS supports Ethernet frame loss measurement (ETH-LM) between maintenance association end points (MEPs) configured on Ethernet physical or logical interfaces on Rev-B Dense Port Concentrators (DPCs) in MX Series routers. Additionally, the Y.1731 functionality supports ETH-LM only for an end-to-end connection that uses Virtual Private Wire Service (VPWS). This example illustrates how to configure ETH-LM for single-tagged LMM/LMR PDUs with input and output VLAN map configured as swap.

Figure 1 shows the topology used in this example. VPWS service is configured between two MX Series routers, MX-PE1 and MX PE2.

Figure 1: VPWS Service Configured Between Two MX Series RoutersVPWS Service Configured Between Two MX Series Routers

MX-PE1 router has two Ethernet interfaces, ge-5/0/4 and ge-5/1/9. Virtual LAN (VLAN) is configured on ge-5/0/4 and MPLS is configured on the ge-5/1/9 interface. The ge-5/0/4.11 interface is used to configure the Layer 2 virtual circuit with MX-PE2 router. The UP MEP, mep 2, is attached to the ge-5/0/4.11 interface. The three-color policer firewall filter is also configured for the MX-PE1 router.

Similarly, MX-PE2 router has two Ethernet interfaces, ge-8/0/8 and ge-8/0/9. Virtual LAN (VLAN) is configured on ge-8/0/8 and MPLS is configured on the ge-8/0/9 interface. The ge-8/0/8.11 interface is used to configure the Layer 2 virtual circuit with MX-PE1 router. The UP MEP, mep 1, is attached to the ge-8/0/8.11 interface. The three-color policer firewall filter is also configured for the MX-PE2 router.

Configuration

CLI Quick Configuration

To quickly configure ETH-LM for single-tagged LMM/LMR PDUs, copy the following commands, remove any line breaks, and then paste the commands into the CLI of each device.

On Router PE1:

On Router PE2:

Configuring Router PE1

Step-by-Step Procedure

To configure Router PE1:

  1. Configure the interfaces.

  2. Configure the VLAN.

  3. Configure the router identifier to identify the routing device.

  4. Configure MPLS, OSPF, and LDP protocols.

  5. Configure the Layer 2 circuit.

  6. Configure the MEP.

  7. Configure the firewall.

  8. Commit the configuration.

Results

From configuration mode, confirm your configuration by entering the show interfaces, show protocols, show routing-options, and show firewall commands. If the output does not display the intended configuration, repeat the instructions in this example to correct the configuration.

Configuring Router PE2

Step-by-Step Procedure

To configure Router PE2:

  1. Configure the interfaces.

  2. Configure the VLAN.

  3. Configure the router identifier to identify the routing device.

  4. Configure MPLS, OSPF, and LDP protocols.

  5. Configure the Layer 2 circuit.

  6. Configure the MEP.

  7. Configure the firewall.

  8. Commit the configuration.

Results

From configuration mode, confirm your configuration by entering the show interfaces, show protocols, show routing-options, and show firewall commands. If the output does not display the intended configuration, repeat the instructions in this example to correct the configuration.

Verification

To start monitoring the Ethernet frame loss, issue the monitor ethernet loss-measurement maintenance-domain md maintenance-association ma mep 1 command. Frame loss is calculated by collecting the counter values applicable for ingress and egress service frames where the counters maintain a count of transmitted and received data frames between a pair of MEPs. The loss measurement statistics are retrieved as the output of the monitor ethernet loss-measurement command. You can also issue the show oam ethernet connectivity-fault-management interfaces detail ge-5/0/4.11 command to display ETH-LM statistics.

Viewing ETH-LM

Purpose

View the ETH-LM statistics.

Action

From operational mode, enter the show oam ethernet connectivity-fault-management interfaces detail ge-5/0/4.11 command.

Meaning

The Ethernet interface details and statistics are displayed. This output indicates that the ge-5/0/4.11 interface is active and its link status is up. Its maintenance domain name is md and its level is 4. The MEP identifier of the ge-5/0/4.11 interface is indicated as 2 and its direction is up. Under the statistics section, the output indicates that 10 LMMs were sent and 10 valid LMRs were received by the interface.

Example: Measuring Ethernet Frame Loss for Dual-Tagged LMM/LMR PDUs

This example illustrates how to configure Ethernet frame loss measurement (ETH-LM) for dual-tagged Loss Measurement Message (LMM)/Loss Measurement Reply (LMR) protocol data units (PDUs). By configuring ETH-LM, you can measure the Ethernet frame loss that occur in your network.

Requirements

This example uses the following hardware and software components:

  • Two MX Series 5G Universal Routing Platforms with Rev-B Dense Port Concentrators (DPCs)

  • Junos OS Release 14.2 or later

Overview and Topology

Junos OS supports Ethernet frame loss measurement (ETH-LM) between maintenance association end points (MEPs) configured on Ethernet physical or logical interfaces on Rev-B Dense Port Concentrators (DPCs) in MX Series routers. Additionally, the Y.1731 functionality supports ETH-LM only for an end-to-end connection that uses Virtual Private Wire Service (VPWS). This example illustrates how to configure ETH-LM for dual tagged LMM/LMR PDUs with input and output VLAN map configured as swap-swap.

Figure 2 shows the topology used in this example. VPWS service is configured between two MX Sereies routers, MX-PE1 and MX PE2.

Figure 2: VPWS Service Configured Between Two MX Series RoutersVPWS Service Configured Between Two MX Series Routers

MX-PE1 router has two Ethernet interfaces, ge-5/0/4 and ge-5/1/9. Virtual LAN (VLAN) is configured on ge-5/0/4 and MPLS is configured on the ge-5/1/9 interface. The ge-5/0/4.11 interface is used to configure the Layer 2 virtual circuit with MX-PE2 router. The UP MEP, mep 2, is attached to the ge-5/0/4.11 interface. The three-color policer firewall filter is also configured for the MX-PE1 router.

Similarly, MX-PE2 router has two Ethernet interfaces, ge-8/0/8 and ge-8/0/9. Virtual LAN (VLAN) is configured on ge-8/0/8 and MPLS is configured on the ge-8/0/9 interface. The ge-8/0/8.11 interface is used to configure the Layer 2 virtual circuit with MX-PE1 router. The UP MEP, mep 1, is attached to the ge-8/0/8.11 interface. The three-color policer firewall filter is also configured for the MX-PE2 router.

Configuration

CLI Quick Configuration

To quickly configure ETH-LM for dual tagged LMM/LMR PDUs, copy the following commands, remove any line breaks, and then paste the commands into the CLI of each device.

On Router PE1:

On Router PE2:

Configuring Router PE1

Step-by-Step Procedure

To configure Router PE1:

  1. Configure the interfaces.

  2. Configure the VLAN.

  3. Configure the router identifier to identify the routing device.

  4. Configure MPLS, OSPF, and LDP protocols.

  5. Configure the Layer 2 circuit.

  6. Configure the MEP.

  7. Configure the firewall.

  8. Commit the configuration.

Results

From configuration mode, confirm your configuration by entering the show interfaces, show protocols, show routing-options, and show firewall commands. If the output does not display the intended configuration, repeat the instructions in this example to correct the configuration.

Configuring Router PE2

Step-by-Step Procedure

To configure Router PE2:

  1. Configure the interfaces.

  2. Configure the VLAN.

  3. Configure the router identifier to identify the routing device.

  4. Configure MPLS, OSPF, and LDP protocols.

  5. Configure the Layer 2 circuit.

  6. Configure the MEP.

  7. Configure the firewall.

  8. Commit the configuration.

Results

From configuration mode, confirm your configuration by entering the show interfaces, show protocols, show routing-options, and show firewall commands. If the output does not display the intended configuration, repeat the instructions in this example to correct the configuration.

Verification

To start the Ethernet frame loss measurement session, issue the monitor ethernet loss-measurement maintenance-domain md maintenance-association ma mep 1 command. Frame loss is calculated by collecting the counter values applicable for ingress and egress service frames where the counters maintain a count of transmitted and received data frames between a pair of MEPs. The loss measurement statistics are retrieved as the output of the monitor ethernet loss-measurement command. You can also issue the show oam ethernet connectivity-fault-management interfaces detail ge-5/0/4.11 command to display ETH-LM statistics.

Viewing ETH-LM

Purpose

View the ETH-LM statistics.

Action

From operational mode, enter the show oam ethernet connectivity-fault-management interfaces detail ge-5/0/4.11 command.

Meaning

The Ethernet interface details and statistics are displayed. This output indicates that the ge-5/0/4.11 interface is active and its link status is up. Its maintenance domain name is md and its level is 4. The MEP identifier of the ge-5/0/4.11 interface is indicated as 2 and its direction is up. Under the statistics section, the output indicates that 10 LMMs were sent and 10 valid LMRs were received by the interface.