!
interface lo
 ip address 60.0.0.1/24
!
interface r2-eth0
 ip address 10.0.0.2/30
!
interface r2-eth1
 ip address 10.0.0.9/30

access-list access seq 5 permit 40.0.0.0/8

route-map LIMIT permit 10
  match ip address access

ip protocol bgp route-map LIMIT
