From: Bob Sinclair (bsin@xxxxxxxxx)
Date: Sun Apr 21 2002 - 12:34:47 GMT-3
Yakout,
BGP has the "non-exist" map syntax for the purpose you are trying to achieve.
The fact that it has this special syntax makes me think you will need to test f
or the existence, not absence, of a route in OSPF.
The best example of this is in Halabi's book. Can you arrange to advertise the
default only if some other route is present, then arrange if this other route
is present, then 148.5.5.0 must not be? Perhaps through metric or AD?
I think you are correct in your understanding of the command. Cannot test abse
nce of route, only presence. Make appearance of route A conditional on absence
of 148.5.5.0, then advertise default only if A is present. If A is present, 1
48.5.5.0 must not be.
-Bob
. ----- Original Message -----
From: "yakout esmat" <yesmat@iprimus.com.au>
To: "Groupstudy" <ccielab@groupstudy.com>
Sent: Sunday, April 21, 2002 6:43 AM
Subject: OSPF Conditional Default Origination
> Hi all,
>
> I have a problem configuring OSPF Conditional Default Origination, my config
> as follows:
>
> !
> router ospf 100
> summary-address 198.168.0.0 255.255.0.0
> network 148.5.6.6 0.0.0.0 area 0
> network 148.5.16.6 0.0.0.0 area 0
> default-information originate route-map default
> !
> route-map default deny 10
> match ip address 3
> !
> route-map default permit 20
> !
> access-list 3 permit 148.5.5.0 0.0.0.255
> !
> end
>
> What I want to achieve is: If network 148.5.5.0/24 exists in the routing
> table DO NOT advertise the default route into OSPF Domain (which is
> represented by first instance of the route-map 10)
>
> Otherwise Advertise the default (which is covered by the second instance 20)
>
> My observation is: it only works if the first instance permits the default
> based on the EXISTANCE of the network in the table, and denies the default
> if the network doesn't exist in the table.
>
> Do I have misunderstanding of the Conditional Default Origination or what??
>
> Any feed back is very much appreciated.
>
> Thanks in advance
>
> ya
This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:58:15 GMT-3