router bgp 65001
 no bgp ebgp-requires-policy
 no bgp network import-check
 neighbor 10.0.0.1 remote-as internal
 neighbor 10.0.0.1 update-source lo
 neighbor 10.0.0.1 timers 1 3
 neighbor 10.0.0.1 timers connect 1
 address-family ipv4
  redistribute connected route-map connected-to-bgp
  network 10.0.1.2/32 route-map set-aigp
  neighbor 10.0.0.1 next-hop-self
 exit-address-family
!
ip prefix-list p22 seq 5 permit 10.0.2.2/32
!
route-map connected-to-bgp permit 10
 match ip address prefix-list p22
 set aigp 2
!
route-map set-aigp permit 10
 set aigp 10
!
