1 frr defaults traditional
5 log stdout notifications
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
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
26 access-list al-any permit any
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
33 set large-community 12:34:56
34 set extcommunity rt 89:123
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
42 set large-community 12:34:13
43 set extcommunity rt 89:123