]> git.proxmox.com Git - mirror_frr.git/blob - tests/topotests/bgp_l3vpn_to_bgp_vrf/ce3/bgpd.conf
cf7396eb1263eaed9eabaecbe245918e85019ea4
[mirror_frr.git] / tests / topotests / bgp_l3vpn_to_bgp_vrf / ce3 / bgpd.conf
1 frr defaults traditional
2 !
3 hostname ce3
4 password zebra
5 log stdout notifications
6 log commands
7 log file bgpd.log
8
9 router bgp 5227
10 no bgp network import-check
11 bgp router-id 99.0.0.3
12 no bgp ebgp-requires-policy
13 neighbor 192.168.1.1 remote-as 5227
14 neighbor 192.168.1.1 update-source 192.168.1.2
15 neighbor 192.168.1.1 timers 3 10
16 address-family ipv4 unicast
17 network 99.0.0.3/32
18 network 5.1.2.0/24 route-map rm-nh
19 network 5.1.3.0/24 route-map rm-nh
20 network 6.0.1.0/24 route-map rm-nh
21 network 6.0.2.0/24 route-map rm-nh-same
22 network 6.0.3.0/24 route-map rm-nh-same
23 neighbor 192.168.1.1 activate
24 exit-address-family
25 !
26 access-list al-any permit any
27 !
28 route-map rm-nh permit 10
29 match ip address al-any
30 set ip next-hop 99.0.0.3
31 set local-preference 50
32 set metric 200
33 set large-community 12:34:56
34 set extcommunity rt 89:123
35 set community 0:67
36 !
37 route-map rm-nh-same permit 10
38 match ip address al-any
39 set ip next-hop 99.0.0.3
40 set local-preference 100
41 set metric 100
42 set large-community 12:34:13
43 set extcommunity rt 89:123
44 set community 0:67
45 !
46 end