Networking · Virtualization & Overlays › VXLAN
Layer 2 Overlay
Cheat sheet · https://pcornel.dk/topic.php?topic=1365
Answer
A Layer 2 VXLAN overlay stretches a VLAN (a bridge domain per VNI) across a routed underlay, so hosts in different racks or sites share one subnet.
Remember
- A Layer 2 overlay extends Ethernet segments across a routed underlay.
- Endpoints in different locations share one broadcast domain.
- BUM traffic is replicated via multicast or ingress replication.
First checks
show nve vni— L2 VNIsshow l2route evpn mac all— MACs learned via EVPNshow mac address-table vlan <vlan>— local and remote MACs
Commands
show nve peersshow nve vnishow l2vpn evpn evi 10 detailshow l2vpn evpn mac evi 10show bgp l2vpn evpn route-type 2show mac address-table vlan 10show l2vpn evpn mac duplicateshow l2route evpn mac all
Verify in this order
VLAN → L2 VNI → EVPN type 2 → remote VTEP
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=1365