Pcornel
Networking · Network & Protocols › Tunnels & Overlays

VXLAN, VNI & VTEP

Cheat sheet · https://pcornel.dk/topic.php?topic=169

Back to the Topic

Answer

VXLAN carries Ethernet frames across a routed IP network inside UDP packets. The VNI identifies the segment, the VTEP is the device that wraps and unwraps frames, and the underlay is the IP network in between.

Remember

Decide first which layer the fault is in. The underlay must let the VTEP loopbacks reach each other at 1550 bytes or more — encapsulation adds 50. Then the overlay: the same VLAN-to-VNI mapping on every switch, peers known, and the host's MAC address learned remotely.

First checks

  • show nve peers — remote VTEPs and their state.
  • show nve vni — configured VNIs, up or down, how flooded traffic is handled.
  • show bgp l2vpn evpn summary — the sessions carrying overlay information.
  • show l2vpn evpn mac — MAC addresses learned through EVPN.
  • ping <remote VTEP> source Loopback0 size 1550 df-bit — the underlay at full size.

Command names vary between IOS XE and NX-OS.

Commands

show bgp l2vpn evpn summary
Lists the BGP neighbors in the L2VPN EVPN address family with state and prefix counts.
show nve peers
show nve vni

Verify in this order

VTEP loopbacks reachable in the underlay at full size → VNI configured and up on both VTEPs → VTEPs know each other as peers → host MAC learned or advertised → frame encapsulated to the right VTEP → delivered in the same VNI

Where it usually breaks

underlay IP/transport → control/session registration → route/endpoint distribution → policy/segment → encapsulation/tunnel state → decapsulation/egress → return path

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=169

Confirmation

Confirm action

Continue?