Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Configuring Seamless Type-5 to Type-5 Stitching for EVPN-VXLAN

Seamless stitching of EVPN Type 5 routes is beneficial in multi-POD data center architectures, or Data Center Interconnect (DCI) using pure Type 5 routing. It reduces the number of Type 5 tunnels between border-leaf or border-spine devices.

This article contains the configuration necessary for implementing seamless stitching of Type 5 routes between data center PODs. We support a 1:1 VRF instance mapping, meaning that a single VRF instance on the local data center gateway maps to another VRF instance on the remote gateway.

Topology

The following diagram shows two data center PODs connected over a WAN. The two data centers are configured using edge-routed bridging (ERB).

Figure 1: EVPN-VXLAN data center PODs connected over a WAN Network diagram showing a Wide Area Network setup with two clusters. Left cluster: CE1, CE11, CE12, LEAF11, LEAF12, GW11, GW12. Right cluster: CE2, CE21, CE22, LEAF21, LEAF22, GW21, GW22. Gateways connect to WAN.

Configuration Overview

The following steps show the relevant configuration to implement pure EVPN Type 5 routing between stitched data centers. Each data center POD will have a local EVPN-VXLAN overlay fabric, and utilize EVPN DCI across the WAN to the remote data center POD.

Devices within the same POD will use MAC-VRF instances for the EVPN-VXLAN overlay fabric. Gateway devices will additionally use a Layer 3 VRF instance for the Type 5 DCI across the WAN. Our example focuses on the gateway device overlay configuration. The underlay can use multiple options. See Understanding EVPN with VXLAN Data Plane Encapsulation for details.

Configure a MAC-VRF Instance

  1. Configure the MAC-VRF for GW11. Here we're using the vlan-aware service. You might alternately configure vlan-based service or vlan-bundle service. See Overview of VLAN Services for EVPN for additional information about these service types.

  2. Configure the EVPN protocol with VXLAN encapsulation.

  3. Configure a VXLAN tunnel endpoint (VTEP) interface (such as the lo0 interface), the aforementioned service type, one or more VLAN-tagged interfaces, and a router distinguisher and VRF target unique to this MAC-VRF instance.

  4. Configure the bridge domain used for the EVPN interconnection. See Configuring a Bridge Domain for more details. That reference page also includes important information regarding the use of the routing-instances <instance-name> bridge-domains hierarchy, or the routing-instances <instance-name> vlans hierarchy.

Configure a Layer 3 VRF Instance

  1. Configure the Layer 3 VRF instance for GW11, including a route distinguisher and VRF target unique to this VRF instance.

  2. Configure the EVPN interconnect, including a route distinguisher and VRF target unique to the interconnect configuration.

  3. Configure Type 5 advertisements using the ip-prefix-routes statement.The vni statement maps VLAN's across the interconnect. The VNI here must be unique to the ip-prefix-routes configuration.

Domain Path ID

You can optionally configure the domain-path-id statement as part of your DCI Type 5 stitching implementation. This configuration helps to prevent Type 5 routing loops. The domain-path-id statement is configured in the protocols evpn interconnect stanza. See domain-path-id for more details.

Release Information

Support for Advanced Forwarding Toolkit (AFT)-based linecards on supported MX Series routers introduced in Junos OS Release 25.2R1.