Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Example: Configuring VLAN-Unaware Pseudowire Head-End Termination with EVPN VPWS and ELAN Services

This configuration example demonstrates implementing EVPN Virtual Private Wire Service (VPWS) with flexible cross-connect capabilities that supports both single-homed and multi-homed access connections. The solution uses PS (Packet Services) interfaces to bridge EVPN VPWS access circuits with EVPN ELAN services on the service side. The configuration includes access-side interfaces with circuit cross-connect (CCC) encapsulation that terminate into EVPN VPWS groups, which then connect to service-side PS interfaces configured for EVPN ELAN participation. Figure 1 shows a diagram of VLAN-Unaware PWHT traffic flowing into an EVPN ELAN instance.

Figure 1: VLAN-Unaware PWHT into EVPN ELAN Traffic Flow VLAN-Unaware PWHT into EVPN ELAN Traffic Flow

Prerequisites

  • Supported hardware platforms that support EVPN VPWS and PS interfaces

  • Minimum Junos OS release supporting EVPN VPWS flexible cross-connect

  • Required software packages for EVPN and MPLS functionality

  • EVPN licensing requirements

  • MPLS services licensing requirements

  • BGP sessions established between PE devices

  • MPLS LSPs configured for transport between PE devices

CLI Quick Configuration

Configuration Statements

Edit the below configuration to fit your implementation, then copy and paste the edited code into Junos OS via a command-line interface.

Access Side Device Configuration

Service Side Device Configuration

Service Side EVPN Instance Configuration

Alternative Service Side Configuration - Virtual Switch

Step-by-Step: Access Side Device Configuration

  1. Configure Configure Aggregated Ethernet Interface ae0
    1. Configure the first aggregated Ethernet interface with flexible VLAN tagging and multi-homing:
    2. Configure LACP parameters for ae0:
    3. Configure logical units on ae0 with VLAN mapping:
  2. Configure Physical Interfacex xe-0/0/2:0 and xe-0/0/2:1
    1. Configure the physical interface xe-0/0/2:0:
    2. Configure the physical interface xe-0/0/2:1:
  3. Configure Aggregated Ethernet Interface 1:
    1. Configure the ae1 with the same ESI as ae0:
    2. Configure LACP parameters for ae1:
    3. Configure logical units on ae1 with VLAN mapping:
  4. Configure EVPN-VPWS Routing Instance
    1. Create the EVPN-VPWS routing instance:i
    2. If using single-homed groups: configure the single-homed group sh1. If you are using multi-homed groups, skip this sub-step and go to the next sub-step.
    3. If using multi-homed groups: configure the multi-homed group mh1.
    4. Configure route distinguisher and VRF target:

Step-by-Step: Service Side Device Configuration

  1. Configure PS interface ps0
    1. Configure PS interface ps0 with anchor-point and ESI:
    2. Configure logical units on ps0:
  2. Configure PS interface ps1
    1. Configure PS interface ps1 with anchor-point and ESI:
    2. Configure logical units on ps1:
  3. Configure Service Side EVPN-VPWS Instance
    1. Create the service-side EVPN-VPWS routing instance:
    2. Configure service-side groups:
    3. Configure interfaces and routing parameters:
  4. Configure EVPN Instances for Service Side
    1. Configure individual EVPN instance for VLAN 2001:
    2. Configure individual EVPN instance for VLAN 2002:
    3. Configure individual EVPN instance for VLAN 2003:
    4. Configure individual EVPN instance for VLAN 2004:
  5. (Alternate): Configure Virtual-Switch Instance
    1. Configure a virtual-switch instance as an alternative to individual EVPN instances:
    2. Configure bridge domains within the virtual switch:

Verification

Use these commands individually, instead of as a block of commands.

  1. Verify Interface Status
    1. Check the status of aggregated Ethernet interfaces:

      show interfaces ae0 terse

      show interfaces ae1 terse

      show lacp interfaces ae0

      show lacp interfaces ae1

    2. Verify PS interface configuration:

      show interfaces ps0 terse

      show interfaces ps1 terse

  2. Verify EVPN-VPWS Configuration
    1. Check EVPN-VPWS instance status:

      show evpn instance VPWS-FXC-UNAWARE

      show evpn vpws-service-id

      show evpn vpws-group

    2. Verify EVPN routes:

      show route table VPWS-FXC-UNAWARE.evpn.0

      show route advertising-protocol bgp peer-address table VPWS-FXC-UNAWARE.evpn.0

  3. Verify ESI and Multi-Homing
    1. Check ESI status and designated forwarder election:

      show evpn esi

      show evpn esi extensive

      show evpn df-election

  4. Verify Service-Side EVPN Instances
    1. Check individual EVPN instance status:

      show evpn instance RI-EVPN-2001

      show evpn instance RI-EVPN-2002

      show evpn instance RI-EVPN-2003

      show evpn instance RI-EVPN-2004

    2. For virtual switch configurations:

      show evpn instance R1-VSWITCH

      show bridge domain