What we're building
This post walks through a full EVPN-VXLAN overlay on Cisco Nexus switches. The topology is two leaf switches, one spine, and one server per leaf. Both servers are on VLAN 10, and we want them to communicate across the VXLAN overlay without any static tunnel configuration.
By the end, the two servers will reach each other via VXLAN encapsulation, BGP EVPN will be distributing MAC and IP reachability, and you'll know exactly how to verify each piece of the stack.
Topology
Server-A (192.168.10.11) Server-B (192.168.10.12) | | Leaf-1 (lo0: 10.0.0.1) Leaf-2 (lo0: 10.0.0.2) | | +------------- Spine ---------------+ (lo0: 10.0.0.100) Underlay: eBGP (Leaf-1 ASN 65001, Leaf-2 ASN 65002, Spine ASN 65100)
Overlay: BGP EVPN (Spine as route reflector)
VNI: 10010 for VLAN 10
VTEP IPs: Leaf-1 loopback 10.0.0.1, Leaf-2 loopback 10.0.0.2Enable the required features
Nexus NX-OS requires you to explicitly enable features before you can configure them. Miss one of these and you'll get confusing errors later.