Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Example: Configure Ethernet CFM over VPLS

In this example, both the customer and service provider are running Ethernet CFM over a VPLS and a multiprotocol label switching (MPLS) network. The network is shown in Figure 1. The customer has configured Ethernet CFM on MX Series routers L2-CE1 and L2-CE2. The service provider has configured Ethernet CFM on MX Series routers PE1, P, and PE2.

Note:

The configurations in this example are only partial examples of complete and functional router configurations. Do not copy these configurations and use them directly on an actual system.

The service provider is using CFM level 5 and the customer is using CFM level 7. The boundaries are marked with “up mep” and “down mep” CFM terminology in the figure.

Figure 1: Ethernet OAM with VPLSEthernet OAM with VPLS
Note:

The logical interfaces in a VPLS routing instance might have the same or different VLAN configurations. VLAN normalization is required to switch packets correctly among these interfaces. Normalization supports automatic mapping of VLANs and performs operations on VLAN tags to achieve the desired translation. See Configuring a Normalized VLAN for Translation or Tagging.

Note:

The following forwarding path considerations must be observed:

  • Packet receive path:

    • This is the forwarding path for packets received on the interfaces.

    • 802.1ag Ethernet OAM for VPLS uses implicit interface filters and forwarding table filters to flood, accept, and drop the CFM packets.

  • Packet transmit path:

    • Junos OS uses the router’s hardware-based forwarding for CPU-generated packets.

    • For down MEPs, the packets are transmitted on the interface on which the MEP is configured.

    • In MX series routers, for up MEPs, the packets must be flooded to other interfaces in the VPLS routing instance. The router creates a flood route tied to a flood next hop (with all interfaces to flood) and then sources the packets to be forwarded with this flood route.

The following are the configurations of the VPLS and CFM on the service provider routers.

Configuration of PE1

Configuration of PE2

Configuration of P router

MPLS only, no CFM needed:

CFM on L2-CE1

Here is the configuration of CFM on L2-E1:

CFM on L2-CE2

Here is the configuration of CFM L2-CE2: