Deployment Guide

For each BGP peer session in the overlay network:
a. Configure the BGP peer using its Loopback IP address on the VTEP in ROUTER-BGP mode.
neighbor loopback-ip-address
b. Assign the BGP neighbor Loopback address to the autonomous system in ROUTER-BGP-NEIGHBOR mode. The neighbor
Loopback IP address is the source interface on the remote VTEP.
remote-as as-number
c. Use the local Loopback address as the source address in BGP packets sent to the neighbor in ROUTER-BGP-NEIGHBOR mode.
update-source loopback0
d. Send an extended community attribute to the BGP neighbor in ROUTER-BGP-NEIGHBOR mode.
send-community extended
e. Enable the peer session with the BGP neighbor in ROUTER-BGP-NEIGHBOR mode.
no shutdown
f. Configure the L2 VPN EVPN address family for VXLAN host-based routing to the BGP peer in ROUTER-BGP-NEIGHBOR mode.
address-family l2vpn evpn
g. Enable the exchange of L2VPN EVPN addresses with the BGP peer in ROUTER-BGP-NEIGHBOR mode.
activate
h. Return to ROUTER-BGP mode.
exit
i. Enter IPv4 address-family configuration mode from ROUTER-BGP mode.
address-family ipv4 unicast
j. Disable the exchange of IPv4 addresses with BGP peers in ROUTER-BGP mode.
no activate
k. Return to ROUTER-BGP-NEIGHBOR mode.
exit
l. (Optional) If all the leaf switches are configured in the same ASN:
On each leaf switch, enter L2VPN EVPN address-family configuration mode from ROUTER-BGP-NEIGHBOR mode. Activate
the exchange of L2VPN EVPN addresses with BGP peers. Configure the switch to accept a route with the local AS number in
updates received from a peer in ROUTER-BGP-NEIGHBOR-AF mode.
OS10(config-router-bgp-neighbor)# address-family l2vpn evpn
OS10(config-router-neighbor-af)# activate
OS10(config-router-neighbor-af)# allowas-in 1
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.
68
BGP EVPN for VXLAN