I cannot recall what is the defaul of route-map "match all " or "match any" 
 


From: [email protected]
To: [email protected]
Date: Tue, 4 Aug 2009 09:03:33 +0100
Subject: [OSL | CCIE_RS] Conditional BGP default-originate route-maps



 
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: Thanks for 10 great years—enjoy free winks and 
emoticons. Get Them Now
_________________________________________________________________
Express your personality in color! Preview and select themes for Hotmail®. 
http://www.windowslive-hotmail.com/LearnMore/personalize.aspx?ocid=PID23391::T:WLMTAGL:ON:WL:en-US:WM_HYGN_express:082009
_______________________________________________
For more information regarding industry leading CCIE Lab training, please visit 
www.ipexpert.com

Reply via email to