Re: BGP Filtering

From: David Timmons (masterdt@yahoo.com)
Date: Thu Jul 13 2006 - 17:54:44 ART


HI,

To do this I think you should look at the neighbor x
advertise-map command:
http://www.cisco.com/univercd/cc/td/doc/product/software/ios124/124cr/hirp_r/rte_bgh2.htm#wp1071377

You have two options: exist-map and non-exist-map.
With the exist-map, you create a route-map and if you
have a hit, the advertise-map route-map is used to
generate a route to advertise. The non-exist-map will
cause the route to be advertised as long as you don't
get hits.

--- pankaj kumar <pankaj_mcse123@rediffmail.com>
wrote:

route-map addroute
match ip add prefix-list pladdroute

ip prefix-list pladdroute permit 172.10.24.0/27
ip prefix-list plroute-alive permit 10.1.1.0/24
route-map route-alive
match ip add prefix-list plroute-alive

1)neighbor R2 advertise-map addroute non-exist-map
route-alive
2)neighbor R2 advertise-map addroute non-exist-map
route-alive

I think 1 & 2 are saying the samething

dt

>
> Pls help me to come out.
>
> 2 Routers R1 & R2 is assoicationg IBGP
> connections together. R1 is also EBGP with 1
> backbone. NOW The secanrio
>
> 1) R1
> should not advertise 172.10.24.0/27 to R2 IF
> 10.1.1.0/24 route is persent R1
> BGP table.
>
> 2) R1 should only advertise the 172.10.24.0/27 route
> to R2 if
> 10.1.1.0/24 is not persent in R1 BGP table
>
> Waiting for ur replies..
>
> Thanks
> & Regards
> Pankaj Kumar
>
>



This archive was generated by hypermail 2.1.4 : Tue Aug 01 2006 - 07:13:47 ART