Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

VTEP

Direct answer

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.

When to use this

Use it when checking a VTEP NVE interface, its source loopback and its peers.

First 30 seconds

1. A VTEP encapsulates/decapsulates VXLAN using the NVE interface.

2. Source is a loopback.

3. Peers learned via EVPN or multicast.

4. Anycast VTEP for vPC pairs.

5. Check NVE state.

Operational verification

NVE source loopback → peers → encap/decap

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Protocol standard + deployed implementation
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformProtocol standard · Cisco IOS / IOS XE
Scope / prerequisiteUse it when checking a VTEP NVE interface, its source loopback and its peers.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

3 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Layered verification and original-test closure Verify boundary

VTEP — Correlate one flow using local endpoint, VNI, remote VTEP and outer UDP/4789 counters, then verify delivery and return traffic on the remote access side.

Step 2 Observation → implication → next check Narrow the fault

VTEP — If the VTEP is reachable but a tenant fails, check VNI membership and endpoint mapping; if encapsulation counters rise without remote decapsulation, inspect underlay/ACL/MTU; if decapsulation works, inspect local egress.

Step 3 Common mistakes Narrow the fault
  • VTEP loopback not advertised in the underlay.
  • Duplicate VTEP addresses.
Evidence references

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.

observation · 1
Command lookup Jump straight to Cisco syntax
Key points
  • 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.
Key checks
  • show nve interface nve1 — VTEP source
  • show 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

DirectionAction
EncapsulationMaps the frame's VLAN to a VNI, finds the remote VTEP for the destination MAC, adds the VXLAN, UDP, IP and Ethernet headers
DecapsulationStrips the outer headers, uses the VNI to pick the local VLAN or VRF, forwards the inner frame
BUM trafficSends broadcast, unknown unicast and multicast to a multicast group per VNI (RFC 7348), or by ingress replication to each peer (EVPN route type 3)
LearningFlood 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

PracticeReason
A dedicated loopback as source interfaceStable address, independent of physical links
Advertised in the underlay IGPEvery 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 typeExamples
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.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

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
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docProtocol standard + deployed implementation RFC 7348

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%
Confirmation

Confirm action

Continue?