From: Adam Asay (evilshortbus@yahoo.com)
Date: Sat Dec 17 2005 - 02:01:25 GMT-3
Godswill,
  
  I appreciate your help, but the problem I have is that I need address1,  address2, and address3 to exist before I advertise.  This solution  will advertise the addresses if only one of the addresses are present.
  
  -Adam
Godswill Oletu <oletu@inbox.lv> wrote:  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" 
To: 
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