summaryrefslogtreecommitdiffstats
path: root/tests/topotests/bgp_conditional_advertisement/r1/bgpd.conf
blob: 293b38c7e84c3077bb33f8212003a9af45e096e3 (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
!
ip prefix-list CUST seq 5 permit 10.139.224.0/20
ip prefix-list DEFAULT seq 5 permit 0.0.0.0/0
ip prefix-list PL1 seq 5 permit 192.0.2.1/32
!
route-map CUST permit 10
 match ip address prefix-list CUST
 set community 64671:501
!
route-map RM1 permit 10
 match ip address prefix-list PL1
 set community 64952:3008
!
route-map DEF permit 10
 match ip address prefix-list DEFAULT
 set community 64848:3011 65011:200 65013:200
!
router bgp 1
 bgp log-neighbor-changes
 bgp conditional-advertisement timer 5
 no bgp ebgp-requires-policy
 neighbor 10.10.10.2 remote-as 2
 !
 address-family ipv4 unicast
  network 0.0.0.0/0 route-map DEF
  network 192.0.2.1/32 route-map RM1
  network 192.0.2.5/32
  redistribute connected route-map CUST
  neighbor 10.10.10.2 soft-reconfiguration inbound
 exit-address-family
!