Deployment Guide

vni
Associates an EVPN instance with a VXLAN network ID.
Syntax
vni vni
Parameters
vni
Enter the virtual-network ID, from 1 to 16,777,215.
Default Not configured
Command mode EVPN-EVI
Usage information Use this command in EVPN-EVI mode to configure an EVPN instance with RD and RT values to an overlay
VXLAN virtual network.
Example
OS10(config)# evpn
OS10(config-evpn)# evi 10
OS10(config-evpn-evi)# vni 10000
Supported
releases
10.4.2.0 or later
Example: VXLAN with BGP EVPN
The following VXLAN with BGP EVPN example uses a Clos leaf-spine topology with VXLAN tunnel endpoints (VTEPs). The individual
switch configuration shows how to set up an end-to-end VXLAN. eBGP is used to exchange IP routes in the IP underlay network, and
EVPN routes in the VXLAN overlay network. All spine nodes are in one autonomous system—AS 101. All leaf nodes are in another
autonomous system—AS 100.
On VTEPs 1 and 2: Access ports are assigned to the virtual network using a switch-scoped VLAN. EVPN is configured using auto-EVI
mode.
On VTEPs 3 and 4: Access ports are assigned to the virtual network using a port-scoped VLAN. The EVPN instance is configured
using manual configuration mode. The RD and RT are configured using auto-EVI mode.
BGP EVPN for VXLAN
81