Pcornel
Networking · Virtualization & Overlays › VXLAN

Layer 2 Overlay

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

Back to the Topic

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 VNIs
  • show l2route evpn mac all — MACs learned via EVPN
  • show mac address-table vlan <vlan> — local and remote MACs

Commands

show nve peers
show nve vni
show l2vpn evpn evi 10 detail
show l2vpn evpn mac evi 10
show bgp l2vpn evpn route-type 2
show mac address-table vlan 10
show l2vpn evpn mac duplicate
show 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

Confirmation

Confirm action

Continue?