Hi,

 

I have been experimenting with conditional BGP default-originate route-maps. I 
would like to advertise a default route if route “a” AND route “b” are 
available. For some reason I am only able to configure a logical OR operation 
with a basic route map:

 

access-list 1 permit 1.1.1.1
access-list 1 permit 2.2.2.2
!
route-map CHECK_ROUTE_A_AND_B
 match ip address 1
 match ip address 2
!
router bgp 64512
 neighbor 5.5.5.5 default-originate route-map CHECK_ROUTE_A_AND_B

 

The IOS then converts the route-map to the following which is basically a 
logical OR:

 

route-map CHECK_ROUTE_A_AND_B
 match ip address 1 2

 

The only way I have managed to get a conditional BGP default-originate working 
with a logical AND operation is the rather convoluted example below:

 

track 1 ip route 1.1.1.1 255.255.255.255 reachability
track 2 ip route 2.2.2.2 255.255.255.255 reachability
!
track 3 list boolean and
 object 1
 object 2
!
ip route 169.254.1.1 255.255.255.255 Null0 track 3
!
access-list 1 permit 169.254.1.1
!
route-map CHECK_ROUTE_A_AND_B permit 10
 match ip address 1

 

Does anyone know how I can achieve the same thing with a basic route-map?

 

Many thanks

 

Paul

 

_________________________________________________________________
Windows Live Messenger: Celebrate 10 amazing years with free winks and 
emoticons.
http://clk.atdmt.com/UKM/go/157562755/direct/01/
_______________________________________________
For more information regarding industry leading CCIE Lab training, please visit 
www.ipexpert.com

Reply via email to