From: Farhan Anwar (farhan.anwar@gmail.com)
Date: Tue Oct 16 2007 - 10:02:53 ART
use prefix-lists instead of ACLs.
On 10/16/07, Koen Zeilstra <koen@koenzeilstra.com> wrote:
>
> Hi Group,
>
> Please observe the following (I hope) interesting task.
>
> Advertise a default route to a BGP neighbor conditionally. Watch two
> routes in your routing table. When both routes are present the default
> route should be announced to the neighbor.
>
> I was thinking towards the following direction.
>
> neighbor 10.0.0.1 default-originate route-map checkroutes
> !
> route-map checkroutes
> match ip address 10
> match ip address 20
> !
> access-list 10 permit 1.1.1.1
> access-list 20 permit 2.2.2.2
> !
>
>
> However this route-map results in:
>
> route-map checkroutes
> match ip addres 10 20
> !
>
> Which is an "OR" function afterall and not the "AND" we are looking for.
>
> Any bright ideas on this particular assignment?
>
> thanks in advance,
>
> Koen
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
-- Farhan Anwar www.farhananwar.com
This archive was generated by hypermail 2.1.4 : Fri Nov 16 2007 - 13:11:15 ART