summaryrefslogtreecommitdiffstats
path: root/tests/topotests/bgp_nexthop_ipv6/r2/bgpd.conf
blob: 4d4ae44e284b47db6fe9e7085257b980ac842f63 (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 65000
 no bgp ebgp-requires-policy
 neighbor fd00:0:2::9 remote-as internal
 neighbor fd00:0:2::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:2::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:200::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