Overlay · VXLAN
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Layered verification and original-test closure Verify boundary
Step 2 Observation → implication → next check Narrow the fault
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
show nve peers— overlay peersshow bgp l2vpn evpn— overlay routes
ReferenceHow it works1 section · depth on demand
Operational mechanics and ownership
Overlay — VXLAN overlays map Layer-2/Layer-3 tenant segments to VNIs and carry them between VTEPs over UDP/4789. The VNI identifies the logical segment, not the physical path. VTEPs own encapsulation/decapsulation and endpoint mapping; the underlay owns IP transport. A working VTEP loopback route does not show VNI membership, MAC/IP learning or policy.
ReferenceImportant terms & boundaries3 sections · depth on demand
Key operational limits
- Underlay provides IP reachability between tunnel endpoints
- Overlay carries tenant endpoints/segments using identifiers such as VNI
- VTEPs encapsulate and decapsulate VXLAN; LISP separates endpoint identity (EID) from routing locator (RLOC)
- Control, data, management and policy planes have different evidence
- MTU, ECMP and failure domains remain underlay responsibilities.
In depth
The overlay: logical networks built on top of the underlay
The overlay is the set of virtual networks (VNIs and VRFs) that endpoints use. The Catalyst 9300 BGP EVPN VXLAN guide describes VXLAN's MAC-in-UDP encapsulation with 24-bit VNIs (up to 16 million segments), and EVPN over MP-BGP as the overlay control plane that distributes MAC and IP reachability instead of flood and learn.
Overlay and underlay
| Overlay | Underlay | |
|---|---|---|
| What it carries | Tenant traffic (inner frames and packets) | VXLAN packets between VTEPs |
| Addresses | Endpoint MAC and IP, per VNI or VRF | VTEP loopbacks and point-to-point links |
| Control plane | BGP EVPN (or LISP in SD-Access) | OSPF, IS-IS or eBGP |
| Changes when | Endpoints move, VLANs and VRFs are added | Links or switches fail |
EVPN route types (Cisco guide)
| Type | Carries |
|---|---|
| 1 | Ethernet auto-discovery (multihoming) |
| 2 | MAC and/or IP reachability of an endpoint |
| 3 | Inclusive multicast: which VTEPs want BUM traffic for a VNI (ingress replication) |
| 4 | Ethernet segment (multihoming) |
| 5 | IP prefixes |
LEAF1(config)# router bgp 65000
LEAF1(config-router)# neighbor 10.255.0.101 remote-as 65000
LEAF1(config-router)# neighbor 10.255.0.101 update-source Loopback0
LEAF1(config-router)# address-family l2vpn evpn
LEAF1(config-router-af)# neighbor 10.255.0.101 activate
LEAF1(config-router-af)# neighbor 10.255.0.101 send-community both
LEAF1(config)# l2vpn evpn instance 20 vlan-based
LEAF1(config-evpn-evi)# encapsulation vxlan
LEAF1# show bgp l2vpn evpn route-type 2
LEAF1# show l2vpn evpn mac evi 20
Documented overlay behaviour
| Topic | Detail (Cisco guide) |
|---|---|
| EVI | An EVPN instance, equivalent to a VRF in L3VPN; also called a MAC VRF |
| Route targets | Import and export RTs decide which EVPN routes a VTEP accepts |
| Mobility | A sequence number increments on each MAC move; duplicate MAC and IP addresses are detected and reported |
| BUM traffic | Underlay multicast or ingress replication (without Tenant Routed Multicast) |
What the overlay gives
Layer 2 segments that span racks and buildings without spanning tree in between, endpoint mobility without renumbering, and per-tenant routing (VRFs with L3 VNIs) over one shared fabric.
Documented example, not captured output.
Quick reference
The overlay is the virtual network built on top of the physical one. In a VXLAN fabric it consists of the VNIs, their gateways and the tunnels between VTEPs. With BGP EVPN, VTEPs exchange information about which MAC and IP addresses live where, so the overlay can extend Layer 2 segments across a routed fabric without spanning tree or flooding to learn addresses.
The VXLAN overlay is the set of virtual L2/L3 segments built over the IP underlay. With BGP EVPN as control plane, VTEPs advertise MAC and IP reachability (route type 2), BUM handling (type 3) and IP prefixes (type 5), avoiding flood-and-learn.
Benefits: L2 extension across an L3 fabric without STP, multi-tenancy with VRFs, anycast gateway on every leaf, and ECMP across all spine paths because the outer UDP source port is derived from the inner flow hash.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Virtualization & Overlays → VXLAN → Overlay. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.rfc-editor.org/rfc/rfc7348.html · confidence 94%