Pcornel
Networking · Virtualization & Overlays › VXLAN

VNI

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

Back to the Topic

Answer

The VXLAN Network Identifier (VNI) is a 24-bit segment ID in the VXLAN header, allowing about 16 million segments instead of 4094 VLANs.

Remember

  • The VNI (VXLAN Network Identifier) is a 24-bit segment ID, allowing about 16 million segments.
  • A Layer 2 VNI maps to a VLAN; a Layer 3 VNI maps to a VRF.
  • Both ends must map the same VNI to the same segment.

First checks

  • show nve vni — VNI, mcast/ingress replication, state
  • show running-config | section vlan configuration|member vni — VLAN-to-VNI mapping

Commands

show nve vni
Inspect VNI state and segment mapping.

Verify in this order

VLAN/VRF → VNI → encapsulation

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=1360

Confirmation

Confirm action

Continue?