Networking · Virtualization & Overlays
VXLAN
Cheat sheet · https://pcornel.dk/topic.php?topic=704
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 peersshow nve vni— VNIs and stateshow 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 / evidence | Interpretation |
|---|---|
| Underlay | Routes between VTEPs |
| VTEP | Encap/decap endpoint |
| VNI | Overlay segment ID |
| Remote MAC/IP | Overlay 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