]>
Commit | Line | Data |
---|---|---|
4ac1e79f | 1 | frr defaults traditional |
b7addc48 | 2 | |
4ac1e79f LB |
3 | hostname r4 |
4 | password zebra | |
5 | log stdout notifications | |
6 | log monitor notifications | |
7 | log commands | |
2b0e3296 | 8 | log file bgpd.log debug |
9c8eda68 PZ |
9 | |
10 | debug bgp vpn label | |
52a77b80 PZ |
11 | debug bgp nht |
12 | debug bgp zebra | |
9c8eda68 | 13 | |
4ac1e79f LB |
14 | router bgp 5226 |
15 | bgp router-id 4.4.4.4 | |
16 | bgp cluster-id 4.4.4.4 | |
4ac1e79f LB |
17 | neighbor 2.2.2.2 remote-as 5226 |
18 | neighbor 2.2.2.2 update-source 4.4.4.4 | |
b7addc48 | 19 | |
4ac1e79f | 20 | address-family ipv4 unicast |
4ac1e79f LB |
21 | no neighbor 2.2.2.2 activate |
22 | exit-address-family | |
9c8eda68 | 23 | |
4ac1e79f LB |
24 | address-family ipv4 vpn |
25 | neighbor 2.2.2.2 activate | |
26 | exit-address-family | |
9c8eda68 | 27 | |
61989134 | 28 | router bgp 5227 vrf r4-cust1 |
9c8eda68 | 29 | |
c0ace6d8 | 30 | bgp router-id 192.168.1.1 |
9c8eda68 | 31 | |
c0ace6d8 LB |
32 | neighbor 192.168.1.2 remote-as 5227 |
33 | neighbor 192.168.1.2 update-source 192.168.1.1 | |
9c8eda68 | 34 | |
c0ace6d8 | 35 | address-family ipv4 unicast |
c0ace6d8 LB |
36 | neighbor 192.168.1.2 activate |
37 | neighbor 192.168.1.2 next-hop-self | |
9c8eda68 | 38 | |
52a77b80 PZ |
39 | label vpn export 1041 |
40 | rd vpn export 10:41 | |
41 | rt vpn both 52:100 | |
42 | ||
43 | import vpn | |
9c8eda68 | 44 | export vpn |
c0ace6d8 | 45 | exit-address-family |
b7addc48 | 46 | |
61989134 | 47 | router bgp 5228 vrf r4-cust2 |
9c8eda68 | 48 | |
856b9cce | 49 | bgp router-id 192.168.2.1 |
9c8eda68 | 50 | |
856b9cce LB |
51 | neighbor 192.168.2.2 remote-as 5228 |
52 | neighbor 192.168.2.2 update-source 192.168.2.1 | |
9c8eda68 | 53 | |
856b9cce | 54 | address-family ipv4 unicast |
856b9cce LB |
55 | neighbor 192.168.2.2 activate |
56 | neighbor 192.168.2.2 next-hop-self | |
9c8eda68 | 57 | |
52a77b80 PZ |
58 | label vpn export 1042 |
59 | rd vpn export 10:42 | |
60 | # note RT same as r4-cust1 for inter-vrf route leaking | |
61 | rt vpn both 52:100 | |
62 | ||
63 | import vpn | |
9c8eda68 | 64 | export vpn |
856b9cce | 65 | exit-address-family |
b7addc48 | 66 | |
4ac1e79f | 67 | end |