Use it when routing between subnets across a VXLAN EVPN fabric fails.
Layer 3 Overlay
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
show vrfVerification & 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 Checks Verify boundary
show vrf
show nve vni | include L3
show bgp l2vpn evpn route-type 5
show ip route vrf TENANT1
Remote host routes (/32) from type-2 and prefixes from type-5 should appear in the tenant VRF.
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.
ReferenceWhy it matters1 section · depth on demand
Overview
A Layer 3 overlay adds routing inside the VXLAN fabric. Each leaf acts as the default gateway for its local hosts using the same anycast gateway address everywhere, and routed traffic between subnets travels over a dedicated per-VRF VNI. This keeps routing close to the hosts and allows workloads to move between leaves without changing their gateway.
A Layer 3 overlay routes between VNIs inside the fabric. In symmetric IRB, each leaf has an anycast gateway SVI for local subnets and routes to remote subnets over a per-VRF L3 VNI; ingress and egress leaves both route.
fabric forwarding anycast-gateway-mac 0000.2222.3333
interface Vlan100
vrf member TENANT-A
ip address 10.100.0.1/24
fabric forwarding mode anycast-gateway
interface Vlan3001
vrf member TENANT-A
ip forward ! L3 VNI SVI
show ip route vrf TENANT-A
Type 5 routes bring external prefixes (from border leaves) into the tenant VRF.
ReferenceImportant terms & boundaries3 sections · depth on demand
Symmetric vs asymmetric IRB
In depth
Layer 3 overlay: routing between subnets inside the fabric
The Catalyst 9300 BGP EVPN VXLAN guide maps each VRF to a unique Layer 3 VNI and associates the VTEP's Layer 2 VNIs with the same VRF. Traffic bridged within one subnet uses the L2 VNI; traffic routed between subnets uses the L3 VNI. The guide names two integrated routing and bridging (IRB) modes, asymmetric and symmetric.
IRB modes
| Mode | How routing works | Consequence |
|---|---|---|
| Asymmetric | The ingress VTEP routes and bridges onto the destination L2 VNI | Every VTEP needs every VLAN and L2 VNI of the VRF |
| Symmetric | Ingress routes into the L3 VNI; egress routes from the L3 VNI to the local subnet | VTEPs only need their local VLANs; scales better |
Distributed anycast gateway
Every leaf has the same gateway IP and MAC for a subnet, so a host's default gateway is always its local leaf, even after it moves.
LEAF1(config)# vrf definition CORP
LEAF1(config-vrf)# rd 10.255.255.1:1
LEAF1(config-vrf)# address-family ipv4
LEAF1(config-vrf-af)# route-target export 65000:50001 stitching
LEAF1(config-vrf-af)# route-target import 65000:50001 stitching
LEAF1(config)# vlan configuration 999
LEAF1(config-vlan-config)# member vni 50001
LEAF1(config)# interface Vlan999
LEAF1(config-if)# vrf forwarding CORP
LEAF1(config-if)# ip unnumbered Loopback0
LEAF1(config-if)# no autostate
LEAF1(config)# interface Vlan20
LEAF1(config-if)# mac-address 0000.2222.3333
LEAF1(config-if)# vrf forwarding CORP
LEAF1(config-if)# ip address 10.20.0.1 255.255.255.0
LEAF1(config)# interface nve1
LEAF1(config-if)# member vni 50001 vrf CORP
LEAF1(config)# router bgp 65000
LEAF1(config-router)# address-family ipv4 vrf CORP
LEAF1(config-router-af)# advertise l2vpn evpn
LEAF1(config-router-af)# redistribute connected
LEAF1# show ip route vrf CORP 10.30.0.25
Routing entry for 10.30.0.25/32
Known via "bgp 65000", distance 200, metric 0, type internal
* 10.255.255.2 (default), from 10.255.0.101, via Vlan999
The host route 10.30.0.25/32 was learned from a remote leaf's EVPN route type 2 and points over the L3 VNI SVI (Vlan999).
Routes used for Layer 3 (Cisco guide)
| EVPN route | Use |
|---|---|
| Type 2 with IP | Host routes (/32, /128) for endpoints in the fabric |
| Type 5 | IP prefixes, such as external routes from border leaves or subnets |
External connectivity
Border leaves connect the fabric's VRFs to the outside world, usually with VRF-lite (one sub-interface or VLAN per VRF) to firewalls or WAN routers, and advertise external prefixes into the fabric as type 5 routes.
Documented example, not captured output.
L3 VNI / symmetric IRB
Inter-subnet traffic in EVPN fabrics uses a Layer 3 VNI per VRF: the ingress VTEP routes into the L3 VNI, the egress VTEP routes out of it. Every leaf has the same anycast gateway IP/MAC for each subnet, so hosts keep their gateway when they move. Check show bgp l2vpn evpn (type-2 MAC/IP and type-5 prefix routes) and show ip route vrf <tenant>.
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 → Layer 3 Overlay. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.rfc-editor.org/rfc/rfc7348.html · confidence 94%