
> show running-config
! Command: show running-config at line 1
! device: leaf1 (cEOSLab, EOS-4.33.1F-39879738.4331F (engineering build))
!
no aaa root
!
username admin privilege 15 role network-admin secret sha512 $6$d6EMT.RiEDSYxCO0$EAJPlA7IIOOTHP1n7DO5C1BbsoIvLj0YmY2TfNVlruGYUBCOeJO0OWWfKEli226rD9n4KqD5ibiQ3D5Ud8zpF.
!
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 leaf1
!
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 Ethernet1
   description to spine1-srl
   mtu 9214
   no switchport
   ip address 10.0.1.1/31
!
interface Ethernet2
   description to spine2-ceos
   mtu 9214
   no switchport
   ip address 10.0.2.1/31
!
interface Ethernet3
   description to spine3-frr
   mtu 9214
   no switchport
   ip address 10.0.3.1/31
!
interface Ethernet4
   description to host1
   switchport access vlan 10
!
interface Loopback0
   ip address 10.255.1.1/32
!
interface Loopback1
   description VTEP-source
   ip address 10.255.100.1/32
!
interface Management0
   ip address 172.20.20.21/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 65001
   router-id 10.255.1.1
   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.0 peer group SPINE
   neighbor 10.0.1.0 remote-as 65100
   neighbor 10.0.1.0 description spine1-srl
   neighbor 10.0.2.0 peer group SPINE
   neighbor 10.0.2.0 remote-as 65100
   neighbor 10.0.2.0 description spine2-ceos
   neighbor 10.0.3.0 peer group SPINE
   neighbor 10.0.3.0 remote-as 65100
   neighbor 10.0.3.0 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.1: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
