From: Prakash H Somani (pdsccie@xxxxxxxxxxxxxx)
Date: Mon Aug 19 2002 - 12:45:30 GMT-3
Hi,
"Always" keyword defines that Default router is to be advertised
ir-respective of weather u have default router in your routing
table or not.
But Route-map applies to whole
command..."Default-information-originate Always". So if route-map
condition does not match....default route will not get
advertised....
It is like a + b *c != (a+b)*c
Does this address your question ?
regards...Prakash
On Mon, 19 Aug 2002 Hunt Lee wrote :
>hi all
>i have doubt
>I am trying to work out what does the "default-information
>originate
>route-map <test1>" command do.
>
>RTA --- RTB --- RTC --- 3.3.3.0/30
>
>Both RTA & RTB are in OSPF Area 0
>RTB & RTC are using EIGRP, so RTB is OSPF's ASBR
>
>3.3.3.0/30 is a Loopback interface at RTC.
>
>I have setup on RTB so that it will only advertise a default
>route
>into OSPF domain based on the existence of the 3.3.3.0/30
>network
>(which is learnt via EIGRP from RTC).
>
>RouterB
>
>default-information originate route-map test1
>
>access-list 2 permit 3.3.3.0 0.0.0.3
>
>route-map test1 permit 10
> match ip address 2
>
>That works fine. However, after I changed the command to
>"default-information originate always route-map test1", I shut
>down
>the Loopback interface on RTC, and RTB suddenly stops advertising
>the
>Type 5 default route into OSPF (to RTA). Why?? I always
>thought
>that with the "always" keyword, the OSPF router will always (i.e.
>at
>all times) advertise a default route into OSPF, even if it hasn't
>got
>a default route in it's own routing table. Am I missing
>something
>simple here??
>
>N.B:- I have also search the CCO, it only talks about the
>"default-information originate" command, but without mentioning
>the
>"always" keyword and "route-map" option used together.
>
>thanks
>H.
>
>http://digital.yahoo.com.au - Yahoo! Digital How To
>- Get the best out of your PC!
This archive was generated by hypermail 2.1.4 : Sat Sep 07 2002 - 19:48:29 GMT-3