Avanzato evpn_vxlan
Comando Cisco l2vpn evpn / vni : Come Configurare EVPN con VNI?
Il comando l2vpn evpn e vni configura EVPN per data center VXLAN. Estende L2 su L3 fabric con BGP EVPN control-plane.
{ } Sintassi
l2vpn evpn / vni
! Configurazione EVPN - VNI L2
l2vpn evpn
l2vpn evpn instance 10 vlan-based
encapsulation vxlan
interface nve 1
member vni 10010
ingress-replication
vlan 10
member vni 10010
! BGP EVPN
router bgp 65001
address-family l2vpn evpn
neighbor 192.168.1.2 activate>_ Verifica - Output
Leaf1# show l2vpn evpn evi detail
EVI: 10, State: Established
Encapsulation: vxlan
VNI: 10010
Associated VLAN: 10Leaf1# show nve vni
Codes: CP - Control Plane DP - Data Plane
UC - Unconfigured SA - Suppress ARP
Interface VNI Multicast-group VNI state VNI mode CP
nve1 10010 Unicast (BGP) Up L2 CP L2Leaf1# show bgp l2vpn evpn summary
BGP router identifier 10.10.10.1, local AS number 65001
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State
192.168.1.2 4 65001 25 25 3 0 0 00:05:12 2
! Errore Comune
⛔ VNI mismatch tra Leaf - traffico L2 non inoltrato
Se Leaf1 vni 10010 per VLAN 10 e Leaf2 vni 10020 per stessa VLAN, EVPN non mappa correttamente, host non comunicano.
Fix: Stesso VNI per stessa VLAN su tutti i Leaf. Verifica show nve vni e show bgp l2vpn evpn routes type 2 MAC/IP.
✦ 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.

