From: Kal Han (calikali2006@gmail.com)
Date: Thu Aug 17 2006 - 13:56:20 ART
Hi
I am trying to do filtering.
I am using filter-list. --- NOT working
AS-65000 AS-123 AS-456
----------[ R1 ] ------------ [ R2 ] ------------- [ R3 ]
In the above senario, on R2, I dont want to send routes
that start from AS65000 to AS 456.
I am using a filterlist with neighbor command and its NOT working
R2#sh run | in ip as-path
ip as-path access-list 1 deny _65000$
ip as-path access-list 1 permit .*
R2#sh run | be bgp
router bgp 123
no synchronization
bgp log-neighbor-changes
network 4.4.4.44 mask 255.255.255.255
aggregate-address 209.112.0.0 255.255.0.0 summary-only
neighbor 140.100.45.2 remote-as 1111
neighbor 140.100.45.2 next-hop-self
neighbor 140.100.47.7 remote-as 456 <------------------- for R3
neighbor 140.100.47.7 password ccie <------------------- for R3
neighbor 140.100.47.7 filter-list 1
out <------------------- for R3
After this I see all the routes that start on R1 in R3.
Not sure what I am doing wrong.
Thanks
Kal
This archive was generated by hypermail 2.1.4 : Fri Sep 01 2006 - 15:41:57 ART