Deployment Guide

For a 4-byte ASN, OS10 can auto-configure RTs for both 2-byte and 4-byte ASNs. The RT type is set to 0202 (Type 2 in RFC 4364).
The RT value is encoded in the format: 4-octet-ASN: 2-octet-number, where the 2-octet-number field contains the EVI ID. In auto-
EVI mode, the EVI ID is the same as the virtual network ID (VNID). Therefore, in 4-byte ASN deployment, OS10 supports RT auto-
configuration if the VNID-to-VNI mapping is the same on all VTEPs.
Configure BGP EVPN for VXLAN
To set up BGP EVPN service in a VXLAN overlay network:
1. Configure the VXLAN overlay network. If you enable routing for VXLAN virtual networks, Integrated Routing and Bridging (IRB) for
BGP EVPN is automatically enabled. For more information, see Configure VXLAN.
2. Configure BGP to advertise EVPN routes.
3. Configure EVPN, including the VNI, RD, and RT values associated with the EVPN instance.
4. Verify the BGP EVPN configuration.
Usage guidelines
Only L2 gateway EVPN bridging functionality is supported.
Only EVPN route types 2 and 3 are supported.
Only asymmetric IRB is supported.
Configuration
1. Configure BGP to advertise EVPN routes.
EVPN requires that you establish MP-BGP sessions between leaf and spine nodes in the underlay network. On each spine and leaf
node, configure at least two BGP peering sessions:
A directly connected BGP peer in the underlay network to advertise VTEP and Loopback IP addresses using the IPv4 unicast
address family.
A BGP peer in the overlay network to advertise overlay information using the EVPN address family. In BGP peer sessions in the
overlay, activate only the EVPN address family.
For each BGP peer session in the underlay network:
a. Create a BGP instance in CONFIGURATION mode. You enter router BGP configuration mode.
router bgp as-number
b. Assign an IP address to the BGP instance in ROUTER-BGP mode.
router-id ip-address
c. Enter IPv4 address-family configuration mode from ROUTER-BGP mode.
address-family ipv4 unicast
d. Advertise the IPv4 prefix to BGP peers in the address family in ROUTER-BGP-ADDRESS-FAMILY mode.
network ip-address/mask
e. Return to ROUTER-BGP mode.
exit
f. Configure the BGP peer address in ROUTER-BGP mode.
neighbor ip-address
g. Assign the BGP neighbor to an autonomous system in ROUTER-BGP-NEIGHBOR mode.
remote-as as-number
h. Enable the peer session with the BGP neighbor in ROUTER-BGP-NEIGHBOR mode.
no shutdown
i. Return to ROUTER-BGP mode.
exit
BGP EVPN for VXLAN
67