]> git.proxmox.com Git - pve-network.git/blob - test/zones/evpn/ebgp_loopback/expected_controller_config
controllers: evpn: fix multiple exit-nodes with route-map filtering
[pve-network.git] / test / zones / evpn / ebgp_loopback / expected_controller_config
1 frr version 8.0.1
2 frr defaults datacenter
3 hostname localhost
4 log syslog informational
5 service integrated-vtysh-config
6 !
7 ip prefix-list loopbacks_ips seq 10 permit 0.0.0.0/0 le 32
8 ip protocol bgp route-map correct_src
9 !
10 vrf vrf_myzone
11 vni 1000
12 exit-vrf
13 !
14 router bgp 65001
15 bgp router-id 192.168.0.1
16 no bgp default ipv4-unicast
17 coalesce-time 1000
18 neighbor VTEP peer-group
19 neighbor VTEP remote-as external
20 neighbor VTEP bfd
21 neighbor VTEP ebgp-multihop 10
22 neighbor VTEP update-source dummy1
23 neighbor 192.168.0.2 peer-group VTEP
24 neighbor 192.168.0.3 peer-group VTEP
25 bgp disable-ebgp-connected-route-check
26 neighbor BGP peer-group
27 neighbor BGP remote-as external
28 neighbor BGP bfd
29 neighbor 172.16.0.254 peer-group BGP
30 neighbor 172.17.0.254 peer-group BGP
31 !
32 address-family ipv4 unicast
33 network 192.168.0.1/32
34 neighbor BGP activate
35 neighbor BGP soft-reconfiguration inbound
36 exit-address-family
37 !
38 address-family l2vpn evpn
39 neighbor VTEP route-map MAP_VTEP_IN in
40 neighbor VTEP route-map MAP_VTEP_OUT out
41 neighbor VTEP activate
42 advertise-all-vni
43 autort as 65000
44 exit-address-family
45 !
46 router bgp 65001 vrf vrf_myzone
47 bgp router-id 192.168.0.1
48 !
49 address-family l2vpn evpn
50 route-target import 65000:1000
51 route-target export 65000:1000
52 exit-address-family
53 !
54 route-map MAP_VTEP_IN permit 1
55 !
56 route-map MAP_VTEP_OUT permit 1
57 !
58 route-map correct_src permit 1
59 match ip address prefix-list loopbacks_ips
60 set src 192.168.0.1
61 !
62 line vty
63 !