Deployment Guide

An EVPN instance (EVI) spans across the VTEPs that participate in the EVPN. In OS10, configure an EVI in auto-EVI or manual
configuration mode.
Auto-EVI mode
a. Enable the EVPN control plane in CONFIGURATION mode.
evpn
b. Enable auto-EVI creation for overlay virtual networks in EVPN mode. Auto-EVI creation is supported only if BGP EVPN is used
with 2-byte AS numbers and if at least one BGP instance is enabled with the EVPN address family. No further manual
configuration is allowed in auto-EVI mode.
auto-evi
Manual EVI configuration mode
a. Enable the EVPN control plane in CONFIGURATION mode.
evpn
b. Manually create an EVPN instance in EVPN mode. The range is from 1 to 65535.
evi id
c. Configure the Route Distinguisher in EVPN EVI mode.
rd {A.B.C.D:[1-65535] | auto}
Where:
rd A.B.C.D:[1-65535] configures the RD with a 4-octet IPv4 address then a 2-octet-number.
rd auto automatically generates the RD.
d. Configure the RT values in EVPN EVI mode.
route-target {auto | value [asn4] {import | export | both}}
Where:
route-target auto auto-configures an import and export value for EVPN routes.
route-target value [asn4]{import | export | both} configures an import or export value for EVPN
routes in the format
2-octet-ASN:4-octet-number or 4-octet-ASN:2-octet-number.
The 2-octet ASN number is 1 to 65535.
The 4-octet ASN number is 1 to 4294967295.
To configure the same value for the RT import and export values, use the both option. asn4 advertises a 2-byte AS
number as a 4-byte route target value. If you specify the
asn4 option, configure the VXLAN network ID associated with
the EVPN instance in EVPN EVI mode, from 1 to 16,777,215. You must configure the same VNI value that you configure for
the VXLAN virtual network. For more information, see Configure VXLAN.
vni vni
3. Verify the BGP EVPN configuration.
Display the EVPN instance configuration
OS10# show evpn evi 1
EVI : 65447, State : up
Bridge-Domain : (Virtual-Network)100, (VNI)100
Route-Distinguisher : 1:110.111.170.102:65447(auto)
Route-Targets : 0:101:268435556(auto) both
Inclusive Multicast : 110.111.170.107
Display the VXLAN overlay for the EVPN instance
OS10# show evpn vxlan-vni
VXLAN-VNI EVI Virtual-Network-Instance
100001 1 1
100010 2 2
BGP EVPN for VXLAN
69