Comando Cisco interface nve / vxlan : Come Configurare VXLAN con NVE?

2 min di lettura
Pubblicato il 15 Novembre 2026
Avanzato evpn_vxlan

Comando Cisco interface nve / vxlan : Come Configurare VXLAN con NVE?

Il comando interface nve configura VXLAN encapsulation su Nexus. NVE è l'interfaccia virtuale che incapsula frame L2 in pacchetti VXLAN su IP.

{ } Sintassi
interface nve / vxlan
! Configurazione VXLAN NVE
feature nv overlay
feature vn-segment-vlan-based

interface nve 1
no shutdown
source-interface loopback1
member vni 10010
mcast-group 239.1.1.10 ! o ingress-replication con BGP EVPN
member vni 10020
mcast-group 239.1.1.20

interface loopback1
ip address 10.10.10.1/32
ip pim sparse-mode

! Verifica
show nve vni
show nve peers
>_ Verifica - Output
Router - PuTTY
N9K# show nve vni Interface VNI Multicast-group VNI state VNI mode CP nve1 10010 239.1.1.10 Up L2 CP L2 [10010] nve1 10020 239.1.1.20 Up L2 CP L2 [10020]N9K# show nve peers Interface VNI Type Peer-IP RMAC/Num_RTs eVNI state flags UP time nve1 10010 L2CP 10.10.10.2 0c11.67c9.cf9a 10010 up-notify 00:05:12 nve1 10020 L2CP 10.10.10.2 0c11.67c9.cf9a 10020 up-notify 00:05:12N9K# show nve interface nve 1 detail nve1 type: nve Members: 10010 239.1.1.10 L2CP 10020 239.1.1.20 L2CP
! Errore Comune
⛔ feature nv overlay non abilitata - NVE non creata

Se non dai feature nv overlay e feature vn-segment-vlan-based su Nexus, interface nve 1 non esiste. Comando rifiutato.

Fix: feature nv overlay + feature vn-segment-vlan-based + interface nve 1 + source-interface loopback1 + no shutdown. Verifica show nve vni e show nve peers.

✦ Trasparenza AI: uso strumenti AI per bozze, schemi e immagini. Ogni contenuto lo revisiono, testo i comandi in laboratorio e lo riscrivo con la mia esperienza in classe prima di pubblicarlo. La responsabilità di quello che leggi è mia.
Mario Giagnotti
AUTORE
Mario Giagnotti
Ingegnere Elettronico e docente di Informatica.