Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Configuring EVPN-VPWS over SRv6 with Traffic Engineering

Starting in Junos OS Evolved 25.2R1, the ACX Series routers support EVPN-VPWS over SRv6 traffic engineering (TE) tunnels with fallback capability. While EVPN services themselves do not support the fallback switchover of routes, you can configure segment routing policies to define a secondary route. If the primary path becomes unavailable, the device automatically switches to the secondary route as a backup.

To configure EVPN-VPWS over SRv6 TE routes, you must define SRv6 TE routes and their associated transport classes. When SRv6 TE is configured with a color (transport class), the resulting route is installed in the colored routing table rti-tc-<color>.inet6.3. This is referred to as the intent route. The associated locator prefix route is installed in the default table inet6.3 and is known as the non-intent route or best-effort route.

By utilizing SRv6 TE routes, you can ensure that intended routes with lower metrics are prioritized while maintaining best-effort routes as fallback options. This ensures that your primary routes are optimized for performance, and in the event of a failure, there is an automatic switch to the best-effort routes to maintain service continuity.

By default, Junos OS Evolved enables fallback to best-effort routes for auto-created transport classes. To configure TE routes without fallback, you must run the CLI command set protocols sr-te transport-class fallback none at the top of the hierarchy. This command ensures that only the preferred TE routes are utilized where best-effort routes are not acceptable.

Junos OS Evolved supports both single-homing and multi-homing networks for these services.

Figure 1: EVPN-VPWS SRTE topology Network topology diagram with routers labeled PE1, PE2, PE3, PE5, PE6, CE1, and CE4 showing connections. Arrows indicate data flow directions. Includes IPv6 addresses like 2001:db8:a1:2222:: for PE2. Labels hop-1, hop-2, hop-3, hop-s1 indicate paths in the network.

In Figure 1, we have a topology with two possible paths from CE1 to CE4. The basic steps for configuring EVPN-VPWS over SRv6 with traffic engineering on the ingress device (PE1) is as follow.

  1. Configure the node locator SID within the IS-IS protocol.

  2. Configure EVPN-VPWS services.

  3. Configure support for micro-SID and SRv6.

  4. Define the transport class at the ingress or egress node. For this example, we define a gold transport class and assign community value.

  5. Configure import or export policies to route traffic. For this example, we use an export policy.

  6. Configure source path route to the remote device and the hops for the primary and secondary paths.

    Note:

    Use the loopback address of the remote device for the tunnel endpoint.

EVPN-VPWS FXC with SRv6

The flexible cross-connect (FXC) with SRv6 provides a method for scalable pseudowire (PW) signaling across multiple user network interfaces (UNIs) or customer edge (CE) devices. This feature simplifies the encapsulation process by using a single label for MPLS encapsulation or a single DX2V SRv6 SID, allowing for streamlined auto-discovery per Ethernet VPN instance (EVI) route.

FXC supports both VLAN unaware and VLAN aware configurations.

  • VLAN unaware - The FXC sends a single auto-discovery (A-D) per EVI route, simplifying signaling by treating all VLANs uniformly.

  • VLAN aware - The FXC sends one A-D per EVI route for each VLAN, enabling granular control over VLAN-specific signaling.

Both VLAN-unaware and VLAN-aware modes support static and dynamic segment routing header (SRH) as well as static and dynamic micro-SID segment routing. The basic steps to configure each mode is shown below.

Note:

Egress protection is not supported for EVPN-VPWS FXC instances.

Configure Static SRH END.DX2V for EVPN-VPWS FXC in VLAN Unaware

  1. Configure the SRv6 locator and disable reduced SRH to ensure classic SRH.

  2. Configure the EVPN-VPWS routing instance.

  3. Configure EVPN protocol for VLAN-unaware FXC.

  4. Configure EVPN group with interfaces and service IDs.

  5. Configure static END.DX2V SID.

The following output shows a sample static SRH FXC instance configured in VLAN-unaware mode.

Configure Dynamic SRH END.DX2V for EVPN-VPWS FXC in VLAN Unaware

  1. Configure the SRv6 locator and disable reduced SRH to ensure classic SRH.

  2. Configure the EVPN-VPWS routing instance.

  3. Configure EVPN protocol for VLAN-unaware FXC.

  4. Configure EVPN group with interfaces and service IDs.

  5. Configure dynamic END.DX2V SID assignment.

The following output shows a sample dynamic SRH FXC instance configured in VLAN-unaware mode.

Configure Static micro-SID END.DX2V for EVPN-VPWS FXC in VLAN Unaware

  1. Reserve the micro-SID block.

  2. Configure the SRv6 locator from the reserved micro-SID block.

  3. Configure the EVPN-VPWS routing instance.

  4. Configure EVPN protocol for VLAN-unaware FXC.

  5. Configure EVPN group with interfaces and service IDs.

  6. Configure static micro-SID END.DX2V.

The following output shows a sample static micro-SID FXC instance configured in VLAN-unaware mode.

Configure Dynamic micro-SID END.DX2V for EVPN-VPWS FXC in VLAN Unaware

  1. Configure the SRv6 locator with micro-sid.

  2. Configure the EVPN-VPWS routing instance.

  3. Configure EVPN protocol for VLAN-unaware FXC.

  4. Configure EVPN group with interfaces and service IDs.

  5. Configure dynamic micro-SID END.DX2V assignment.

The following output shows a sample dynamic micro-SID FXC instance configured in VLAN-unaware mode.

Configure Static SRH END.DX2V for EVPN-VPWS FXC in VLAN Aware

  1. Configure the SRv6 locator and disable reduced SRH to ensure classic SRH.

  2. Configure the EVPN-VPWS routing instance.

  3. Configure EVPN protocol for VLAN-aware FXC.

  4. Configure PW service IDs.

  5. Configure static END.DX2V SID.

The following output shows a sample static SRH FXC instance configured in VLAN-aware mode.

Configure Dynamic SRH END.DX2V for EVPN-VPWS FXC in VLAN Aware

  1. Configure the SRv6 locator and disable reduced SRH to ensure classic SRH.

  2. Configure the EVPN-VPWS routing instance.

  3. Configure EVPN protocol for VLAN-aware FXC.

  4. Configure PW service IDs.

  5. Configure dynamic END.DX2V SID assignment.

The following output shows a sample dynamic SRH FXC instance configured in VLAN-aware mode.

Configure Static micro-SID END.DX2V for EVPN-VPWS FXC in VLAN Aware

  1. Reserve the micro-SID block.

  2. Configure the SRv6 locator from the reserved micro-SID block.

  3. Configure the EVPN-VPWS routing instance.

  4. Configure EVPN protocol for VLAN-aware FXC.

  5. Configure PW service IDs.

  6. Configure static micro-SID END.DX2V.

The following output shows a sample static micro-SID FXC instance configured in VLAN-aware mode.

Configure Dynamic micro-SID END.DX2V for EVPN-VPWS FXC in VLAN Aware

  1. Configure the SRv6 locator with micro-sid.

  2. Configure the EVPN-VPWS routing instance.

  3. Configure EVPN protocol for VLAN-aware FXC.

  4. Configure PW service IDs.

  5. Configure dynamic micro-SID END.DX2V assignment.

The following output shows a sample dynamic micro-SID FXC instance configured in VLAN-aware mode.