White Papers

8 Dell EMC OS10 BGP eVPN Configuration Cheat Sheet | 1.0
2. Configure the local loopback using the following commands:
mk-s4048-11# conf
mk-s4048-11(config)# int lo0
mk-s4048-11(conf-if-lo-0)# ip add 2.2.2.2/24
mk-s4048-11(conf-if-lo-0)# end
mk-s4048-11#
3. Enter the following commands to configure NVE source interface:
mk-s4048-11# conf
mk-s4048-11(config)# nve
mk-s4048-11(conf-nve)# source-interface loopback 0
mk-s4048-11(conf-nve)# end
mk-s4048-11#
4. Configure BGP using the following commands:
mk-s4048# conf
mk-s4048-11(config)# router bgp 20
mk-s4048-11(config-router-bgp-20)# address-family ipv4 unicast
mk-s4048-11(configure-router-bgpv4-af)# redistribute connected
mk-s4048-11(configure-router-bgpv4-af)# exit
mk-s4048-11(configure-router-bgp-20)# neighbor 155.13.1.1 <<< First link
to spine
mk-s4048-11(config-router-neighbor)# remote-as 10
mk-s4048-11(config-router-neighbor)# address-family ipv4 unicast
mk-s4048-11(config-router-bgp-neighbor-af)# allowas-in 1
mk-s4048-11(config-router-bgp-neighbor-af)# exit
mk-s4048-11(config-router-neighbor)# exit
**************************************************************************
mk-s4048-11(config-router-bgp-20)# neighbor 1.1.1.1
mk-s4048-11(config-router-neighbor)# remote-as 10
mk-s4048-11(config-router-neighbor)# send-community extended
mk-s4048-11(config-router-neighbor)# update-source loopback0
mk-s4048-11(config-router-neighbor)# address-family ipv4 unicast
mk-s4048-11(config-router-neighbor)# no activate
mk-s4048-11(config-router-bgp-neighbor-af)# exit
mk-s4048-11(config-router-neighbor)# address-family l2vpn evpn
mk-s4048-11(config-router-bgp-neighbor-af)# activate
mk-s4048-11(config-router-bgp-neighbor-af)# allowas-in 1
mk-s4048-11(config-router-bgp-neighbor-af)# end
mk-s4048-11#
5. Configure the virtual networks (VNIs) and map to VxLAN:
mk-s4048-11# conf
mk-s4048-11(config)# virtual-network 1000
mk-s4048-11(conf-vn-1000)# vxlan-vni 1000
mk-s4048-11(conf-vn-1000)# exit
mk-s4048-11(config)# virtual-network 2000
mk-s4048-11(conf-vn-2000)# vxlan-vni 2000