!
int r1-eth0
 ipv6 address 2001:db8::1/64
!
router ripng
 network 2001:db8::/64
 route-map rmap in r1-eth0
 timers basic 5 15 10
exit
!
ipv6 access-list r2 seq 5 permit 2001:db8:2::/64
!
ipv6 prefix-list r3 seq 5 permit 2001:db8:3::/64
!
route-map rmap permit 10
 match ipv6 address r2
 set metric 12
route-map rmap permit 20
 match ipv6 address prefix-list r3
 set metric 13
exit
