2 frr defaults datacenter
4 log syslog informational
5 service integrated-vtysh-config
7 ip protocol bgp route-map correct_src
14 bgp router-id 192.168.0.1
15 no bgp default ipv4-unicast
17 neighbor VTEP peer-group
18 neighbor VTEP remote-as external
20 neighbor VTEP ebgp-multihop 10
21 neighbor VTEP update-source dummy1
22 neighbor 192.168.0.2 peer-group VTEP
23 neighbor 192.168.0.3 peer-group VTEP
24 bgp disable-ebgp-connected-route-check
25 neighbor BGP peer-group
26 neighbor BGP remote-as external
28 neighbor 172.16.0.254 peer-group BGP
29 neighbor 172.17.0.254 peer-group BGP
31 address-family ipv4 unicast
32 network 192.168.0.1/32
34 neighbor BGP soft-reconfiguration inbound
37 address-family l2vpn evpn
38 neighbor VTEP route-map MAP_VTEP_IN in
39 neighbor VTEP route-map MAP_VTEP_OUT out
40 neighbor VTEP activate
46 router bgp 65001 vrf vrf_myzone
47 bgp router-id 192.168.0.1
49 address-family l2vpn evpn
50 route-target import 65000:1000
51 route-target export 65000:1000
55 ip prefix-list loopbacks_ips seq 10 permit 0.0.0.0/0 le 32
57 route-map MAP_VTEP_IN permit 1
60 route-map MAP_VTEP_OUT permit 1
63 route-map correct_src permit 1
64 match ip address prefix-list loopbacks_ips