]> git.proxmox.com Git - mirror_frr.git/blob - tests/topotests/bgp_l3vpn_to_bgp_vrf/r4/bgpd.conf
bgp_l3vpn_to_bgp_vrf: updated config files to current vpn-policy syntax
[mirror_frr.git] / tests / topotests / bgp_l3vpn_to_bgp_vrf / r4 / bgpd.conf
1 frr defaults traditional
2
3 hostname r4
4 password zebra
5 log stdout notifications
6 log monitor notifications
7 log commands
8
9 debug bgp vpn label
10
11 router bgp 5226
12 bgp router-id 4.4.4.4
13 bgp cluster-id 4.4.4.4
14 neighbor 2.2.2.2 remote-as 5226
15 neighbor 2.2.2.2 update-source 4.4.4.4
16
17 address-family ipv4 unicast
18 no neighbor 2.2.2.2 activate
19 exit-address-family
20
21 address-family ipv4 vpn
22 neighbor 2.2.2.2 activate
23 exit-address-family
24
25 router bgp 5227 vrf r4-cust1
26
27 bgp router-id 192.168.1.1
28
29 neighbor 192.168.1.2 remote-as 5227
30 neighbor 192.168.1.2 update-source 192.168.1.1
31
32 vpn-policy ipv4
33 label 1041
34 rd 10:4
35 rt both 52:100
36 ! nexthop 192.168.1.1
37 exit
38
39 address-family ipv4 unicast
40 neighbor 192.168.1.2 activate
41 neighbor 192.168.1.2 next-hop-self
42
43 redistribute vpn
44 export vpn
45 exit-address-family
46
47 router bgp 5228 vrf r4-cust2
48
49 bgp router-id 192.168.2.1
50
51 neighbor 192.168.2.2 remote-as 5228
52 neighbor 192.168.2.2 update-source 192.168.2.1
53
54 vpn-policy ipv4
55 label 1042
56 rd 10:4
57 #note RT same as r4-cust1 for inter-vrf route leaking
58 rt both 52:100
59 ! nexthop 192.168.1.1
60 exit
61
62 address-family ipv4 unicast
63 neighbor 192.168.2.2 activate
64 neighbor 192.168.2.2 next-hop-self
65
66 redistribute vpn
67 export vpn
68 exit-address-family
69
70 end