Building configuration...

Current configuration:
!
frr version 8.4_git
frr defaults datacenter
hostname leaf6
log syslog informational
service integrated-vtysh-config
!
vrf TENANT-A
 vni 50001
exit-vrf
!
interface br-vlan30
 ip address 10.10.30.254/24
exit
!
interface eth1
 description to spine1-srl
 ip address 10.0.1.11/31
exit
!
interface eth2
 description to spine2-ceos
 ip address 10.0.2.11/31
exit
!
interface eth3
 description to spine3-frr
 ip address 10.0.3.11/31
exit
!
interface eth4
 description to host6 (access VLAN 30)
exit
!
interface lo
 ip address 10.255.1.6/32
exit
!
router bgp 65006
 bgp router-id 10.255.1.6
 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.10 remote-as 65100
 neighbor 10.0.1.10 peer-group SPINE
 neighbor 10.0.1.10 description spine1-srl
 neighbor 10.0.2.10 remote-as 65100
 neighbor 10.0.2.10 peer-group SPINE
 neighbor 10.0.2.10 description spine2-ceos
 neighbor 10.0.3.10 remote-as 65100
 neighbor 10.0.3.10 peer-group SPINE
 neighbor 10.0.3.10 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 65006 vrf TENANT-A
 bgp router-id 10.255.1.6
 !
 address-family ipv4 unicast
  redistribute connected
 exit-address-family
 !
 address-family l2vpn evpn
  advertise ipv4 unicast
  rd 10.255.1.6: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
