]> git.proxmox.com Git - mirror_frr.git/blob - tests/topotests/bgp_l3vpn_to_bgp_vrf/r1/bgpd.conf
bgp_l3vpn_to_bgp_vrf: update to current vpn-vrf leak syntax and behavior
[mirror_frr.git] / tests / topotests / bgp_l3vpn_to_bgp_vrf / r1 / bgpd.conf
1 frr defaults traditional
2
3 hostname r1
4 password zebra
5 log stdout notifications
6 log monitor notifications
7 log commands
8
9 log file /tmp/topotests/bgp_l3vpn_to_bgp_vrf.test_bgp_l3vpn_to_bgp_vrf/r1-bgpd.log debugging
10
11 #debug bgp vpn leak-to-vrf
12 #debug bgp vpn leak-from-vrf
13 #debug bgp vpn label
14 #debug bgp updates out
15
16 router bgp 5226
17 bgp router-id 1.1.1.1
18 bgp cluster-id 1.1.1.1
19 neighbor 2.2.2.2 remote-as 5226
20 neighbor 2.2.2.2 update-source 1.1.1.1
21
22 address-family ipv4 unicast
23 no neighbor 2.2.2.2 activate
24 exit-address-family
25
26 address-family ipv4 vpn
27 neighbor 2.2.2.2 activate
28 exit-address-family
29
30
31 router bgp 5227 vrf r1-cust1
32
33 bgp router-id 192.168.1.1
34
35 neighbor 192.168.1.2 remote-as 5227
36 neighbor 192.168.1.2 update-source 192.168.1.1
37
38 address-family ipv4 unicast
39 neighbor 192.168.1.2 activate
40 neighbor 192.168.1.2 next-hop-self
41
42 label vpn export 101
43 rd vpn export 10:1
44 rt vpn both 52:100
45
46 import vpn
47 export vpn
48 exit-address-family
49
50
51 !
52 end