EVPN-VXLAN MAC-VRF Routing-Instance Type
This section describes the EVPN-VXLAN MAC-VRF routing-instance type for AI-ML data centers and its configuration on the QFX5220, QFX5230, QFX5240, and QFX5241 Switches.
Overview
Juniper Networks QFX5220, QFX5230, QFX5240, and QFX5241 Switches are designed for high-performance data center fabrics, particularly supporting overlay features such as EVPN-VXLAN, MVPN protocols, software-defined networking (SDN), and VLAN. In this topic, you will learn to configure EVPN-VXLAN for AI-ML data centers.
EVPNs use Layer 2 virtual bridges to connect dispersed customer sites. VXLANs extend Layer 2 over Layer 3 networks, offering scalable segmentation similar to VLANs. EVPN with VXLAN supports large-scale Layer 2 connectivity for cloud providers, replacing STP and enabling robust Layer 3 routing. For more information about EVPN-VXLAN, see Data Center EVPN-VXLAN Fabric Architecture Guide.
Configure EVPN-VXLAN for AI-ML Data Centers
To configure EVPN-VXLAN for AI-ML data centers, use MAC-VRF routing instances. MAC-VRF
routing instances can support multiple customer-specific EVPN instances (EVIs) using
different EVPN service types such as vlan-based,
vlan-aware, and vlan bundle. For more information about
the MAC-VRF routing instance type, see MAC-VRF Instances Enable Customer-Specific VRF Tables
.
vlan-aware and
vlan-based depends on whether you want the instance to support multiple
VLANs (vlan-aware) or only a single VLAN
(vlan-based).To configure VLAN-aware MAC-VRF instances on a leaf node:
set routing-instances MAC-VRF-NAME instance-type mac-vrf set routing-instances MAC-VRF-NAME service-type vlan-aware set routing-instances MAC-VRF-NAME route-distinguisher AS:NUM set routing-instances MAC-VRF-NAME vrf-target target:AS:NUM set routing-instances MAC-VRF-NAME vtep-source-interface LOOPBACK-INTERFACE set routing-instances MAC-VRF-NAME protocols evpn encapsulation vxlan set routing-instances MAC-VRF-NAME protocols evpn default-gateway no-gateway-community set routing-instances MAC-VRF-NAME protocols evpn extended-vni-list all set routing-instances MAC-VRF-NAME interface ACCESS-INTERFACE.UNIT set routing-instances MAC-VRF-NAME vlans VLAN-NAME-1 vlan-id VLAN-ID-1 set routing-instances MAC-VRF-NAME vlans VLAN-NAME-1 vxlan vni VNI-1 set routing-instances MAC-VRF-NAME vlans VLAN-NAME-1 l3-interface IRB-INTERFACE-1 set routing-instances MAC-VRF-NAME vlans VLAN-NAME-2 vlan-id VLAN-ID-2 set routing-instances MAC-VRF-NAME vlans VLAN-NAME-2 vxlan vni VNI-2 set routing-instances MAC-VRF-NAME vlans VLAN-NAME-2 l3-interface IRB-INTERFACE-2
To configure VLAN-based MAC-VRF instances on a leaf node:
set routing-instances MAC-VRF-NAME instance-type mac-vrf set routing-instances MAC-VRF-NAME service-type vlan-based set routing-instances MAC-VRF-NAME route-distinguisher AS:NUM set routing-instances MAC-VRF-NAME vrf-target target:AS:NUM set routing-instances MAC-VRF-NAME vtep-source-interface LOOPBACK-INTERFACE set routing-instances MAC-VRF-NAME protocols evpn encapsulation vxlan set routing-instances MAC-VRF-NAME interface ACCESS-INTERFACE.UNIT set routing-instances MAC-VRF-NAME vlan-id VLAN-ID set routing-instances MAC-VRF-NAME vxlan vni VNI set routing-instances MAC-VRF-NAME l3-interface IRB-INTERFACE
To configure VLAN-bundle MAC-VRF instances on a leaf node:
set routing-instances MAC-VRF-NAME instance-type mac-vrf set routing-instances MAC-VRF-NAME service-type vlan-bundle set routing-instances MAC-VRF-NAME route-distinguisher AS:NUM set routing-instances MAC-VRF-NAME vrf-target target:ASN:TARGET-ID set routing-instances MAC-VRF-NAME vtep-source-interface LOOPBACK-INTERFACE set routing-instances MAC-VRF-NAME protocols evpn encapsulation vxlan set routing-instances MAC-VRF-NAME vlans VLAN-NAME vlan-id VLAN-ID set routing-instances MAC-VRF-NAME vlans VLAN-NAME vxlan vni VNI set interfaces interface-name unit unit family ethernet-switching interface-mode access|trunk set interfaces interface-name unit unit family ethernet-switching vlan members VLAN-NAME
Verify EVPN-VXLAN MAC-VRF Routing Instance Configuration
Before verifying the EVPN-VXLAN MAC-VRF routing instance configuration, ensure that the other devices in your network are configured properly and then run the following sample commands to verify the output:
show evpn instance show routing-instances MAC-VRF-name show route table MAC-VRF-name.evpn.0 active-path show mac-vrf forwarding vlans
For more information about this feature, see EVPN-VXLAN for AI-ML Data Centers.