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