Re: Advanced BGP Conditional Advertise

From: Godswill Oletu (oletu@inbox.lv)
Date: Fri Dec 16 2005 - 19:49:18 GMT-3


Adam,

I believe you can achieve that by reverse logic:

!
access-list 1 address1
access-list 1 address2
access-list 1 address3
!
access-list 2 address4
access-list 2 address5
access-list 2 address6
!
route-map advertise1 permit 10
match ip address 1
!
route-map advertise1 permit 20
!
route-map advertise2 permit 10
match ip address 2
!
route-map advertise2 permit 20
!
neighbor 1.1.1.1 advertise-map advertise2 exist-map advertise1
!

Do not forget that, you have to read the last statement backward...ie
whenever route-map 'advertise1' return a TRUE match, then advertise, the
routes represented by route-map 'advertise2'. Route-map 'advertise1' will
alway return a true value as long as one of the conditions it is monitoring
it true.

HTH
Godswill Oletu

----- Original Message -----
From: "Adam Asay" <evilshortbus@yahoo.com>
To: <ccielab@groupstudy.com>
Sent: Friday, December 16, 2005 3:56 PM
Subject: Advanced BGP Conditional Advertise

>I have a strange requirement that I am trying to solve with conditional
>advertising. I am trying to say
>
> if
> Address1 or Address2 or Address3 does not exist
> then
> do not advertise Address4 Address5 and Address6
>
> Does anyone know if this is possible? I have tried sevreal combinations
> with no luck.
>
> Thanks for your help.
>
> Adam
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html



This archive was generated by hypermail 2.1.4 : Mon Jan 09 2006 - 07:07:51 GMT-3