Building configuration...

Current configuration:
!
frr version 8.4_git
frr defaults datacenter
hostname leaf3
log syslog informational
service integrated-vtysh-config
!
vrf TENANT-A
 vni 50001
exit-vrf
!
interface br-vlan20
 ip address 10.10.20.254/24
exit
!
interface eth1
 description to spine1-srl
 ip address 10.0.1.5/31
exit
!
interface eth2
 description to spine2-ceos
 ip address 10.0.2.5/31
exit
!
interface eth3
 description to spine3-frr
 ip address 10.0.3.5/31
exit
!
interface eth4
 description to host3 (access VLAN 20)
exit
!
interface lo
 ip address 10.255.1.3/32
exit
!
router bgp 65003
 bgp router-id 10.255.1.3
 no bgp default ipv4-unicast
 bgp bestpath as-path multipath-relax
 neighbor EVPN peer-group
 neighbor EVPN remote-as 65199
 neighbor EVPN ebgp-multihop 3
 neighbor EVPN update-source lo
 neighbor EVPN timers 3 9
 neighbor SPINE peer-group
 neighbor SPINE timers 3 9
 neighbor 10.255.0.1 peer-group EVPN
 neighbor 10.255.0.1 description spine1-RR
 neighbor 10.255.0.2 peer-group EVPN
 neighbor 10.255.0.2 description spine2-RR
 neighbor 10.0.1.4 remote-as 65100
 neighbor 10.0.1.4 peer-group SPINE
 neighbor 10.0.1.4 description spine1-srl
 neighbor 10.0.2.4 remote-as 65100
 neighbor 10.0.2.4 peer-group SPINE
 neighbor 10.0.2.4 description spine2-ceos
 neighbor 10.0.3.4 remote-as 65100
 neighbor 10.0.3.4 peer-group SPINE
 neighbor 10.0.3.4 description spine3-frr
 !
 address-family ipv4 unicast
  redistribute connected route-map EXPORT_LO
  neighbor SPINE activate
 exit-address-family
 !
 address-family l2vpn evpn
  neighbor EVPN activate
  advertise-all-vni
 exit-address-family
exit
!
router bgp 65003 vrf TENANT-A
 bgp router-id 10.255.1.3
 !
 address-family ipv4 unicast
  redistribute connected
 exit-address-family
 !
 address-family l2vpn evpn
  advertise ipv4 unicast
  rd 10.255.1.3:1
  route-target import 1:50001
  route-target export 1:50001
 exit-address-family
exit
!
ip prefix-list LOOPBACKS seq 10 permit 10.255.0.0/16 le 32
!
route-map EXPORT_LO permit 10
 match ip address prefix-list LOOPBACKS
exit
!
end
