!
hostname r1
log file bgpd.log
!
router bgp 65000
 timers bgp 3 10
 coalesce-time 0
 bgp router-id 192.168.0.1
 bgp log-neighbor-changes
 no bgp ebgp-requires-policy
 neighbor 192.168.0.2 remote-as 65000
 neighbor 192.168.0.2 timers 3 10
 neighbor 192.168.0.2 description Router R2 (iBGP)
 neighbor 192.168.0.2 update-source lo
 neighbor 192.168.0.2 timers connect 5
 neighbor 192.168.101.2 remote-as 65100
 neighbor 192.168.101.2 timers 3 10
 neighbor 192.168.101.2 description Router R4 (eBGP AS 65100)
 neighbor 192.168.101.2 timers connect 5
 !
 address-family ipv4 unicast
  network 192.168.0.0/24
  network 192.168.1.0/24
  network 192.168.2.0/24
  network 192.168.3.0/24
  network 192.168.6.0/24
  network 192.168.8.0/24
  neighbor 192.168.101.2 route-map testmap-in in
  neighbor 192.168.101.2 route-map testmap-out out
 exit-address-family
!
!
!
route-map testmap-in permit 999
!
route-map testmap-out permit 999
!
!
line vty
!

