Users Guide

Table Of Contents
OS10(config-router-neighbor-af)# exit
OS10(config-router-bgp-neighbor)# exit
On each spine switch, disable sender-side loop detection to leaf switch neighbors in ROUTER-BGP-NEIGHBOR-AF
mode.
OS10(conf-router-neighbor)# address-family ipv4 unicast
OS10(conf-router-neighbor-af)# no sender-side-loop-detection
OS10(conf-router-neighbor-af)# exit
m. (Optional) In a VLT deployment, on each leaf switch, configure the number of multi-hop peer routes in ROUTER-BGP-
NEIGHBOR mode to ensure that the BGP EVPN peer session establishes over the VLT VTEP peer if all local links to spine
switches are down.
OS10(conf-router-neighbor)# ebgp-multihop 1
2. Configure EVPN.
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. 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.
VXLAN
975