What You Are Building
This is a step-by-step EVPN-VXLAN configuration on Cisco Nexus switches. By the end you will have a working spine-leaf fabric where leaf switches are VTEPs, spines are BGP route reflectors, and tenant VMs can communicate across VNIs without flooding.
The topology: two spine switches (Spine-1, Spine-2) and two leaf switches (Leaf-1, Leaf-2). Each leaf connects to both spines for redundancy. Hosts connect to the leafs. Everything runs NX-OS 9.x.
Features Required
Three features need to be enabled before anything else will work. Run this on every leaf that will be a VTEP: