RE: OSPF, def. origin. & route-maps

From: Bill Dicks (wdicks@xxxxxxxxxxxxxxxxxx)
Date: Thu Aug 03 2000 - 22:51:59 GMT-3


   
   In order to get this to work properly, the route in the routing table
   must be an internal OSPF route, not an external (E1 or E2) route
   redistributed into OSPF. Yours didn't work because the route was
   redistributed in from RIP and is an O E2 route. Also, do NOT use the
   always keyword, or it will in fact always advertise a default,
   regardless of the route being present in the routing table and that
   kind of screws what you were trying to accomplish
   
   
   Bill
   
   
   -----Original Message-----
   From: nobody@groupstudy.com [mailto:nobody@groupstudy.com]On Behalf Of
   Fred Nielsen
   Sent: Wednesday, August 02, 2000 10:02 PM
   To: ccielab@groupstudy.com
   Subject: OSPF, def. origin. & route-maps
   
   
   Has anyone successfully been able to use the ospf 'default-information
   originate route-map blah' command? I'm trying to selectivity have an
   OSPF ASBR inject a default route into OSPF based on the presence of an
   entry in the routing table. Something like
   
   
   :router ospf 1
   
   : default-information originate route-map checkit
   
   :
   
   :route-map checkit permit 10
   
   : match ip address 1
   
   :
   
   :access-list 1 permit 192.168.1.0 0.0.0.255
   
   
   The 192.168.1.0/24 route exists in this router's local routing table
   (originating from RIP BTW) but no default is generated. The only way
   I've been able to generate a default is to clear the route-map's match
   commands, so essentially everything matches. I must have the syntax
   wrong for this. I found an example on CCO very similar to what I'm
   trying to do here
   (http://www.cisco.com/cgi-bin/Support/OpenForum/dispnewqa.pl/5605) but
   I can't seem to get it to work right.
   
   
   ------
   Fred Nielsen [fred_nielsen@hotmail.com]
   ------
   



This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 08:24:20 GMT-3