]> git.proxmox.com Git - mirror_frr.git/blob - tests/topotests/bgp_asdot_regex/r1/bgpd.conf
Merge pull request #12798 from donaldsharp/rib_match_multicast
[mirror_frr.git] / tests / topotests / bgp_asdot_regex / r1 / bgpd.conf
1 router bgp 1.1
2 no bgp ebgp-requires-policy
3 no bgp network import-check
4 neighbor 192.168.255.2 remote-as 1.2
5 address-family ipv4 unicast
6 network 172.31.1.0/24 route-map rmapout
7 network 172.31.2.0/24 route-map rmapout
8 neighbor 192.168.255.2 route-map rmapin in
9 neighbor 192.168.255.2 activate
10 exit-address-family
11 exit
12 bgp as-path access-list only1_4 permit _1.4_
13 bgp as-path access-list only65540 permit _65540_
14 access-list 172313 permit 172.31.3.0/24
15 access-list 172314 permit 172.31.4.0/24
16 route-map rmapout permit 1
17 set as-path prepend 1.4
18 exit
19 route-map rmapin permit 1
20 match ip address 172313
21 match as-path only1_4
22 exit
23 route-map rmapin permit 2
24 match ip address 172314
25 match as-path only65540
26 exit
27