RE: BGP conditional route - match all

From: Joseph L. Brunner <joe_at_affirmedsystems.com>
Date: Wed, 23 Mar 2011 19:28:47 +0000

Use the boolean track operator for multiple conditions IMHO (but I'll have to dynamips this if you want to be sure)

Then in the rmap match the track object's availability.

-----Original Message-----
From: nobody_at_groupstudy.com [mailto:nobody_at_groupstudy.com] On Behalf Of Matt Sherman
Sent: Wednesday, March 23, 2011 11:56 AM
To: Cisco certification
Subject: BGP conditional route - match all

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 - 19:28:47 ART

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