Arista EOS VXLAN EVPN (Leaf-Spine)
VXLAN EVPN leaf-spine fabric for Arista EOS: eBGP underlay with OSPF, VTEP (VXLAN interface), BGP EVPN address family, L2VNI and L3VNI per tenant VRF.
What is it?
VXLAN EVPN on Arista is the modern standard for data center fabric overlays. VXLAN (Virtual Extensible LAN) encapsulates L2 frames in UDP packets, extending L2 domains over L3 underlay networks. EVPN (Ethernet VPN) is a BGP address family that distributes MAC and IP reachability information between VTEPs (VXLAN Tunnel Endpoints — the leaf switches). Each leaf is a VTEP with a unique Loopback1 IP as the VXLAN source. L2VNIs carry tenant VLANs between leaves; L3VNIs provide inter-VXLAN routing within a VRF. Spine switches run BGP as route reflectors — they don't participate in VXLAN.
When to use
- ·Any modern data center fabric with more than 3-4 leaf switches
- ·Multi-tenant data centers requiring isolated L2/L3 domains per tenant
- ·Replacing legacy STP-based designs (vPC, MLAG) with a more scalable overlay
- ·Stretch L2 domains across multiple data centers (DCI — Data Center Interconnect)
When NOT to use
- ·Small 2-4 switch environments — MLAG is simpler for small deployments
- ·Environments without BGP expertise — VXLAN EVPN requires solid BGP knowledge to operate
How it compares
Prerequisites
- →OSPF or IS-IS underlay must be running between all leaf and spine switches (loopbacks reachable)
- →Two loopback interfaces per leaf: Loopback0 (router-id/BGP), Loopback1 (VTEP source)
- →VNI IDs and Route Distinguishers planned across all leaves before deployment
- →Spine switches configured as BGP route reflectors before enabling EVPN on leaves
- →MTU on all fabric interfaces must be at least 1550 (for VXLAN 50-byte overhead)
Config Generator
Verification commands
show bgp evpn summaryVerify EVPN BGP sessions are Established with spine peers
ExpectedSpine peers show 'Estab' state with non-zero EVPN prefix counts
show vxlan vtepShow all remote VTEPs learned via EVPN
ExpectedLists all remote leaf loopback IPs (Loopback1 addresses). Missing VTEPs indicate EVPN not advertising them.
show bgp evpn route-type mac-ipShow EVPN MAC-IP routes (Type 2) — VM MAC and IP reachability
ExpectedLists MAC/IP pairs for all VMs with their VTEP next-hop. Use to verify VM reachability.
Debug commands
show vxlan address-tableShow VXLAN MAC-to-VTEP forwarding table
Common mistakes & fixes
Further learning
Recommended books to go deeper on this topic.
Building Data Centers with VXLAN BGP EVPN
Lukas Krattiger, Shyam Kapadia, David Jansen · Cisco Press · Clos fabric design with VXLAN EVPN: route types, symmetric IRB, multihoming, multi-site
BGP Design and Implementation
Randy Zhang & Micah Bartell · Cisco Press · BGP fundamentals needed before EVPN — attributes, route reflection, policy
NX-OS and Cisco Nexus Switching: Next-Generation Data Center Architectures
Ron Fuller, David Jansen, Matthew McPherson · Cisco Press · VXLAN BGP EVPN on NX-OS — overlay design and configuration