Pcornel
Networking · Virtualization & Overlays

VXLAN

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

Back to the Topic

Answer

VXLAN carries Layer 2 frames inside UDP (port 4789) across a routed network; VTEPs encapsulate and decapsulate traffic, and the 24-bit VNI identifies up to 16 million segments.

Remember

  • VXLAN tunnels Layer 2 frames inside UDP (port 4789) across a routed network.
  • VNIs identify up to 16 million segments.
  • BGP EVPN is the common control plane for VXLAN.

First checks

  • show nve peers — VTEP peers
  • show nve vni — VNIs and state
  • show bgp l2vpn evpn summary — EVPN control plane

Commands

show nve peers
Inspect VXLAN NVE peer state.
show nve vni
Inspect VNI state and segment mapping.

Verify in this order

underlay → VTEPs → EVPN → VNIs → encapsulated traffic

Where it usually breaks

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

VXLAN · operational reference

State / evidenceInterpretation
UnderlayRoutes between VTEPs
VTEPEncap/decap endpoint
VNIOverlay segment ID
Remote MAC/IPOverlay reachability state

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

Confirmation

Confirm action

Continue?