BGP conditional route - match all

From: Matt Sherman <matt.sherman2_at_gmail.com>
Date: Wed, 23 Mar 2011 11:55:40 -0400

Hi,

Can someone confirm if the the BGP conditional route feature can be set to
require all routes specified to be up before advertising or not advertising
a route such as the task below? I cannot get R2 to withdrawl the route if
only one of the routes (5.5.5.0 /24 or 55.5.5.0 /24) is down. I tried
different variations of the route map with multiple permit statements.
Doesn't seem to work. Thanks

Configure R2 such that if both networks 5.5.5.0 /24 and 55.5.5.0 /24 are in
its BGP table, take the following actions:

B7 advertise network 2.2.2.0 /24 to R6.

  However, if either 5.5.5.0 /24 or 55.5.5.0 /24 is down, then take the
following actionsM>

B7 DO NOT advertise network 2.2.2.0 /24 to R6.

*R2*

*router bgp 200*

* neighbor 192.168.26.6 advertise-map ADVERTISE exist-map EXIST*

*!*

*access-list 2 permit 2.2.2.0 0.0.0.255*

*access-list 5 permit 5.5.5.0 0.0.0.255*

*access-list 55 permit 55.5.5.0 0.0.0.255*

*!*

*route-map ADVERTISE permit 10*

* match ip address 2*

*!*

*route-map EXIST permit 10*

* match ip address 5 55*

Blogs and organic groups at http://www.ccie.net
Received on Wed Mar 23 2011 - 11:55:40 ART

This archive was generated by hypermail 2.2.0 : Fri Apr 01 2011 - 06:35:41 ART