summaryrefslogtreecommitdiffstats
path: root/tests/topotests/bgp_nexthop_ipv6/r5/bgpd.conf
blob: becea2bbe64832e0d899ba96aa7b82f70fef256e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
router bgp 65002
 no bgp ebgp-requires-policy
 neighbor fd00:0:3::9 remote-as external
 neighbor fd00:0:3::9 timers 3 10
 address-family ipv4 unicast
  redistribute connected route-map RMAP4
 !
 address-family ipv6 unicast
  redistribute connected route-map RMAP6
  neighbor fd00:0:3::9 activate

ip prefix-list RANGE4 seq 10 permit 172.16.0.0/16 le 24
ip prefix-list RANGE4 seq 20 permit 10.0.0.0/8 ge 32

ipv6 prefix-list RANGE6 seq 10 permit fd00:500::0/64
ipv6 prefix-list RANGE6 seq 20 permit 2001:db8::0/64 ge 128

route-map RMAP4 permit 10
 match ip address prefix-list RANGE4
!
route-map RMAP6 permit 10
 match ipv6 address prefix-list RANGE6