Use it when checking a VTEP NVE interface, its source loopback and its peers.
VTEP
A VXLAN Tunnel Endpoint (VTEP) encapsulates and decapsulates VXLAN traffic; it can be a switch, router or hypervisor and is identified by its loopback IP in the underlay.
NVE source loopback → peers → encap/decap
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.
- A VTEP (VXLAN Tunnel Endpoint) encapsulates and decapsulates VXLAN traffic.
- It is usually identified by a loopback IP reachable in the underlay.
- Leaf switches commonly act as VTEPs.
show nve interface nve1— VTEP sourceshow nve peers— remote VTEPs
ReferenceHow it works1 section · depth on demand
Operational mechanics and ownership
VTEP — A VTEP terminates VXLAN tunnels: it maps local endpoint traffic into a VNI, encapsulates toward a remote VTEP IP and decapsulates received VXLAN traffic. VTEP operation spans local attachment, endpoint learning/control plane and underlay IP reachability. A reachable VTEP address shows only the outer transport endpoint.
ReferenceImportant terms & boundaries2 sections · depth on demand
In depth
The VTEP: where VXLAN tunnels start and end
RFC 7348 defines a VXLAN Tunnel End Point (VTEP) as an entity that originates and/or terminates VXLAN tunnels. It can run in a hypervisor, a physical switch or a server. The Catalyst 9300 BGP EVPN VXLAN guide describes leaf switches as VTEPs (also called NVE devices), each with a switch interface for local bridging and an IP interface towards the transport network.
What a VTEP does
| Direction | Action |
|---|---|
| Encapsulation | Maps the frame's VLAN to a VNI, finds the remote VTEP for the destination MAC, adds the VXLAN, UDP, IP and Ethernet headers |
| Decapsulation | Strips the outer headers, uses the VNI to pick the local VLAN or VRF, forwards the inner frame |
| BUM traffic | Sends broadcast, unknown unicast and multicast to a multicast group per VNI (RFC 7348), or by ingress replication to each peer (EVPN route type 3) |
| Learning | Flood and learn: inner source MAC → outer source IP (RFC 7348); with EVPN, from BGP routes |
LEAF1(config)# interface Loopback1
LEAF1(config-if)# ip address 10.255.255.1 255.255.255.255
LEAF1(config)# interface nve1
LEAF1(config-if)# no ip address
LEAF1(config-if)# source-interface Loopback1
LEAF1(config-if)# host-reachability protocol bgp
LEAF1(config-if)# member vni 10020 ingress-replication
LEAF1# show nve interface nve1 detail
Interface: nve1, State: Admin Up, Oper Up, Encapsulation: Vxlan,
BGP host reachability: Enable, VxLAN dport: 4789
VNI number: L3CP 1 L2CP 1 L2DP 0
source-interface: Loopback1 (primary:10.255.255.1 vrf:0)
LEAF1# show nve peers
Interface VNI Type Peer-IP RMAC/Num_RTs eVNI state flags UP time
nve1 50001 L3CP 10.255.255.2 a4bb.6d22.0001 50001 UP A/M/4 2d03h
nve1 10020 L2CP 10.255.255.2 6 10020 UP N/A 2d03h
LEAF1# show nve vni
Interface VNI Multicast-group VNI state Mode BD cfg vrf
nve1 10020 N/A Up L2CP 20 CLI N/A
nve1 50001 N/A Up L3CP N/A CLI CORP
The VTEP address
| Practice | Reason |
|---|---|
| A dedicated loopback as source interface | Stable address, independent of physical links |
| Advertised in the underlay IGP | Every VTEP must reach every other VTEP's loopback |
| Separate from the BGP router ID loopback (optional) | Lets the VTEP address change without resetting BGP |
Hardware and software VTEPs
| VTEP type | Examples |
|---|---|
| Hardware (switch ASIC) | Catalyst 9000, Nexus 9000 leaf switches |
| Software (hypervisor) | VMware NSX, Open vSwitch, Linux vxlan interfaces |
Spines don't need to be VTEPs
The Cisco guide notes that spines forward traffic between leaves without knowing endpoint addresses. They only route the outer IP packets between VTEP loopbacks (and usually act as BGP route reflectors for EVPN).
Documented example, not captured output.
Quick reference
A VTEP is the device that puts traffic into VXLAN and takes it out again — usually a leaf switch, sometimes a hypervisor or router. Each VTEP has a loopback address on the underlay network, and VXLAN tunnels run between those addresses. When troubleshooting, the first question is always whether the VTEPs can reach each other.
A VTEP (VXLAN Tunnel Endpoint) encapsulates and decapsulates VXLAN — a leaf switch, hypervisor or router. It has an NVE interface sourced from a loopback reachable through the underlay.
interface nve1
source-interface loopback1
host-reachability protocol bgp
show nve peers
show bgp l2vpn evpn summary
vPC/MLAG pairs share an anycast VTEP address so remote VTEPs see one endpoint for dual-homed hosts.
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 → VTEP. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.rfc-editor.org/rfc/rfc7348.html · confidence 94%