Follow these steps to configure an EVPN LVTEP for MAC IP routes.
vlan 1-4
evpn r1 route-target both auto rd auto vlan add 2-4
router bgp local-as 100 neighbor 3.3.3.3 remote-as 101 <-- The VXLAN peer address-family ipv4 unicast ! address-family ipv6 unicast ! address-family l2vpn evpn graceful-restart neighbor 3.3.3.3 encapsulation vxlan <-- The VXLAN peer neighbor 3.3.3.3 activate
interface Loopback 1 no shutdown ip ospf area 0 ip address 40.40.100.40/32
interface Loopback 2 no shutdown ip ospf area 0 ip address 2.2.2.2/32
interface Ethernet 0/4 ip ospf area 0 ip proxy-arp ip address 98.0.0.2/24 no shutdown
overlay-gateway g1 type layer2-extension ip interface Loopback 1 map vni auto activate
cluster c1 1 peer-interface Ve 45 peer 40.40.100.50 deploy