VXLAN BGP EVPN Configuration on Cisco Nexus 9K [Step by step]
Step 1. Perform the initial configuration of each VTEP switch.
Step 2. Configure the EVPN tenant VRF instance.
The following example shows a configuration for two tenant VRF instances:
Step 3. Create a Layer-3 VNI for each tenant VRF instance.
Step 4. Configure EVPN Layer-2 VNIs for Layer-2 networks.
This step involves mapping VLANs to Layer-2 VNIs and defining their EVPN parameters.
Step 5. Configure the SVI for Layer-2 VNIs and enable the anycast gateway under the SVI.
Step 6. Configure the EVPN distributed anycast gateway.
This step includes configuring the anycast gateway virtual MAC address for each VTEP and the anycast gateway IP address for each VNI.
All the VTEPs in the EVPN domain must have the same anycast gateway virtual MAC address and the same anycast gateway IP address for a given VNI for which they function as the default IP gateway.
Step 7. Configure VXLAN tunnel interface nve1 and associate Layer-2 VNIs and Layer-3 VNIs with it.
Step 8. Configure MP-BGP on the VTEPs.
Step 9. Configure the iBGP route reflector.
Reference:
https://www.cisco.com/c/en/us/products/collateral/switches/nexus-9000-series-switches/guide-c07-734107.html#_Toc444553356