Connectivity Guide
2 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
conguration is allowed in auto-EVI mode.
auto-evi
• Manual EVI conguration mode
1 Enable the EVPN control plane in CONFIGURATION mode.
evpn
2 Manually create an EVPN instance in EVPN mode. The range is from 1 to 65535.
evi id
3 Congure the Route Distinguisher in EVPN EVI mode.
rd {A.B.C.D:[1-65535] | auto}
Where:
– rd A.B.C.D:[1-65535] congures the RD with a 4-octet IPv4 address then a 2-octet-number.
– rd auto automatically generates the RD.
4 Congure the RT values in EVPN EVI mode.
route-target {auto | value [asn4] {import | export | both}}
Where:
– route-target auto auto-congures an import and export value for EVPN routes.
– route-target value [asn4]{import | export | both} congures 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 congure 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, congure the VXLAN network ID associated with
the EVPN instance in EVPN EVI mode, from 1 to 16,777,215. You must congure the same VNI value that you congure
for the VXLAN virtual network. For more information, see
Congure VXLAN.
vni vni
3 Verify the BGP EVPN conguration.
Display the EVPN instance conguration
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
728
VXLAN