summaryrefslogtreecommitdiffstats
path: root/tests/topotests/bgp_l3vpn_to_bgp_vrf/r1/bgpd.conf
blob: 72211fee7f10b565fa601b34083de12af4484b0b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
frr defaults traditional

hostname r1
password zebra
log stdout notifications
log commands

log file bgpd.log

#debug bgp vpn leak-to-vrf
#debug bgp vpn leak-from-vrf
#debug bgp vpn label
#debug bgp updates out

router bgp 5226
   bgp router-id 1.1.1.1
   bgp cluster-id 1.1.1.1
   no bgp ebgp-requires-policy
   neighbor 2.2.2.2 remote-as 5226
   neighbor 2.2.2.2 update-source 1.1.1.1
   neighbor 2.2.2.2 timers 3 10

   address-family ipv4 unicast
     no neighbor 2.2.2.2 activate
   exit-address-family

   address-family ipv4 vpn
     neighbor 2.2.2.2 activate
   exit-address-family


router bgp 5227 vrf r1-cust1

   bgp router-id 192.168.1.1
   no bgp ebgp-requires-policy

   neighbor 192.168.1.2 remote-as 5227
   neighbor 192.168.1.2 update-source 192.168.1.1
   neighbor 192.168.1.2 timers 3 10

   address-family ipv4 unicast
     neighbor 192.168.1.2 activate
     neighbor 192.168.1.2 next-hop-self

     label vpn export 101
     rd vpn export 10:1
     rt vpn both 52:100

     import vpn
     export vpn
   exit-address-family


!
end