!
!debug bgp updates
!
router bgp 65002
 no bgp ebgp-requires-policy
 no bgp network import-check
 neighbor 192.168.1.1 remote-as external
 neighbor 2001:db8:1::1 remote-as external
 neighbor 192.168.1.1 timers 3 10
 neighbor 192.168.1.1 timers connect 1
 neighbor 2001:db8:1::1 timers 3 10
 neighbor 2001:db8:1::1 timers connect 1
 address-family ipv4 unicast
  network 10.10.10.1/32
  network 10.10.10.2/32
  network 10.10.10.3/32
  network 10.10.10.10/32
  no neighbor 2001:db8:1::1 activate
  neighbor 192.168.1.1 route-map r1-v4 out
 exit-address-family
 address-family ipv6 unicast
  network 2001:db8:10::1/128
  network 2001:db8:10::2/128
  network 2001:db8:10::3/128
  network 2001:db8:10::10/128
  neighbor 2001:db8:1::1 activate
  neighbor 2001:db8:1::1 route-map r1-v6 out
 exit-address-family
!
ip prefix-list r1-1 seq 5 permit 10.10.10.1/32
ip prefix-list r1-1 seq 10 permit 10.10.10.2/32
ip prefix-list r1-1 seq 15 permit 10.10.10.3/32
ip prefix-list r1-2 seq 5 permit 10.10.10.10/32
!
ipv6 prefix-list r1-1 seq 5 permit 2001:db8:10::1/128
ipv6 prefix-list r1-1 seq 10 permit 2001:db8:10::2/128
ipv6 prefix-list r1-1 seq 15 permit 2001:db8:10::3/128
ipv6 prefix-list r1-2 seq 5 permit 2001:db8:10::10/128
!
route-map r1-v4 permit 10
 match ip address prefix-list r1-1
exit
!
route-map r1-v4 permit 20
 match ip address prefix-list r1-2
exit
!
route-map r1-v6 permit 10
 match ipv6 address prefix-list r1-1
exit
!
route-map r1-v6 permit 20
 match ipv6 address prefix-list r1-2
exit
