[nsp] whats wrong in prefix list & as-path list

pakucable pakucable@nettaxi.com
Fri, 27 Sep 2002 13:07:05 +0530


Hi all,
This is my bgp configuration, But I have some problems.
Here I dont want to receive any routes from my provider, and want to announce only few routes.
1) Here I have configured as-path access list for not to receive any routes, but still than I am receiving my providers
routes which he announced to his provider using network statement.
Is my filter list ok for not to receive any route or Should I user regex * only instead of  .*

2) In network statement I am announcing 192.168.64.0/19   , and using route-map I am filtering for only 192.168.80.0/24 . But
still than my provider receiving 192.168.64.0/19 too.
Whats wrong in my config??
(Note:  Here in email public ips are replaced by dummy private ips)

!
router bgp 11111
 no synchronization
 network 192.168.80.0
 network 192.168.64.0 mask 255.255.224.0
 neighbor 10.10.10.10 remote-as 12222
 neighbor 10.10.10.10 ebgp-multihop 4
 neighbor 10.10.10.10 update-source Loopback0
  neighbor 10.10.10.10 route-map OUT out
 neighbor 10.10.10.10 filter-list 1 in
 no auto-summary
!
ip as-path access-list 1 deny .*
!
ip prefix list test seq 5 permit 192.168.80.0/24
!
route-map OUT permit 10
 match ip address prefix-list test
!


Thanks
paku