API Guide

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. 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
Display the BGP neighbors in the EVPN instances
OS10# show ip bgp neighbors 110.111.170.102
BGP neighbor is 110.111.170.102, remote AS 100, local AS 100 internal link
BGP version 4, remote router ID 110.111.170.102
BGP state ESTABLISHED, in this state for 04:02:59
Last read 00:21:21 seconds
Hold time is 180, keepalive interval is 60 seconds
Configured hold time is 180, keepalive interval is 60 seconds
Fall-over disabled
Received 311 messages
2 opens, 2 notifications, 3 updates
304 keepalives, 0 route refresh requests
928
VXLAN