
> show running-config
! Command: show running-config at line 1
! device: leaf4 (cEOSLab, EOS-4.33.1F-39879738.4331F (engineering build))
!
no aaa root
!
username admin privilege 15 role network-admin secret sha512 $6$ZlhQ9l8CDW1m5c/Z$sS2ZpHynAK/C3rPS1OdnMM2n7QuDqEk9/ogokntDdnkBg5IGLu/qMvj0ah0XRNnwcnNrjPvFsEFw4j0dfGU2q1
!
management api http-commands
   no shutdown
!
no service interface inactive port-id allocation disabled
!
transceiver qsfp default-mode 4x10G
!
service routing protocols model multi-agent
!
hostname leaf4
!
spanning-tree mode mstp
!
system l1
   unsupported speed action error
   unsupported error-correction action error
!
vlan 10
   name TENANT-A-WEB
!
vlan 20
   name TENANT-A-APP
!
vlan 30
   name TENANT-B-DB
!
vrf instance TENANT-A
!
aaa authorization exec default local
!
interface Ethernet2
   description to spine1-srl
   mtu 9214
   no switchport
   ip address 10.0.1.7/31
!
interface Ethernet3
   description to spine2-ceos
   mtu 9214
   no switchport
   ip address 10.0.2.7/31
!
interface Ethernet4
   description to spine3-frr
   mtu 9214
   no switchport
   ip address 10.0.3.7/31
!
interface Ethernet5
   description to host4
   switchport access vlan 20
!
interface Loopback0
   ip address 10.255.1.4/32
!
interface Loopback1
   description VTEP-source
   ip address 10.255.100.4/32
!
interface Management0
   ip address 172.20.20.24/24
!
interface Vlan10
   vrf TENANT-A
   ip address virtual 10.10.10.254/24
!
interface Vlan20
   vrf TENANT-A
   ip address virtual 10.10.20.254/24
!
interface Vlan30
   vrf TENANT-A
   ip address virtual 10.10.30.254/24
!
interface Vxlan1
   vxlan source-interface Loopback1
   vxlan udp-port 4789
   vxlan vlan 10 vni 10010
   vxlan vlan 20 vni 10020
   vxlan vlan 30 vni 10030
   vxlan vrf TENANT-A vni 50001
!
ip virtual-router mac-address 00:1c:73:00:00:01
!
ip routing
ip routing vrf TENANT-A
!
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
!
router bgp 65004
   router-id 10.255.1.4
   no bgp default ipv4-unicast
   maximum-paths 4 ecmp 64
   neighbor EVPN-RR peer group
   neighbor EVPN-RR remote-as 65199
   neighbor EVPN-RR local-as 65199 no-prepend replace-as
   neighbor EVPN-RR update-source Loopback0
   neighbor EVPN-RR ebgp-multihop 3
   neighbor EVPN-RR send-community extended
   neighbor SPINE peer group
   neighbor SPINE send-community extended
   neighbor SPINE maximum-routes 12000
   neighbor 10.0.1.6 peer group SPINE
   neighbor 10.0.1.6 remote-as 65100
   neighbor 10.0.1.6 description spine1-srl
   neighbor 10.0.2.6 peer group SPINE
   neighbor 10.0.2.6 remote-as 65100
   neighbor 10.0.2.6 description spine2-ceos
   neighbor 10.0.3.6 peer group SPINE
   neighbor 10.0.3.6 remote-as 65100
   neighbor 10.0.3.6 description spine3-frr
   neighbor 10.255.0.1 peer group EVPN-RR
   neighbor 10.255.0.1 description spine1-RR
   neighbor 10.255.0.2 peer group EVPN-RR
   neighbor 10.255.0.2 description spine2-RR
   !
   address-family evpn
      neighbor EVPN-RR activate
   !
   address-family ipv4
      neighbor SPINE activate
      redistribute connected route-map EXPORT_LO
   !
   vrf TENANT-A
      rd 10.255.1.4:1
      route-target import evpn 1:50001
      route-target export evpn 1:50001
      redistribute connected
!
router multicast
   ipv4
      software-forwarding kernel
   !
   ipv6
      software-forwarding kernel
!
end
