From: jfaure@sztele.com
Date: Wed Apr 09 2003 - 04:52:10 GMT-3
Hi:
Perhaps, I'm confusing something (I don't have oportunity to check it,
please leave know if you can do it) but i though that this 2 entries route
map did this:
-If the watched route exists in the route table, the the first entry
(...deny 10) doesn't inject the default route, because the action in case
of matching is "deny". Besides, because there is already a match, the
route-map process is stoped and the second entry (... permit 20) isn't
checked.
-If the route doesn't exists then the first entry doesn't match and the
second entry is checked. Because there is specific match applied, if i am
not confused, everythingh matches. Then, the default route is injected, as
you want. Anyway, if you want to be more strict, you can specify after this
second entry a condition match that does matching with everything, and the
config would be:
router ospf 10
...
default-information originate route-map no_exist128
route-map no_exist128 deny 10
match ip address 1
route-map no_exist128 permit 20
match ip address 2
access-list 1 permit 128.10.1.0 255.255.255.0
access-list 2 permit any
Am I missing something? Regards
Juan Faure Ferrer
email: jfaure@sztele.com
Lmnea de Negocio de Telematica y CC
Ingeniero de Integracisn de Redes y Sistemas
----------------------------------------------------------------------------
SOLUZIONA TELECOMUNICACIONES
Servicios Profesionales de UNION FENOSA
Jerez, 3
28016 MADRID
tel 91 579 30 00 fax 91 350 72 83
---------------------------------------------------------------------------
Sage Vadi
<sagevadi@yaho Para: jfaure@sztele.com
o.co.uk> cc: ccielab@groupstudy.com, Groupstudy
<dongweylee1@attbi.com>
09/04/03 04:08 Asunto: Re: OSPF default-information
originate route-map
Juan,
That is only permitting a default-route, since the
route-map is denying.
Conditional-advertising as per Cisco is only available
on BGP using exist-map & non-exist-map.
rgds,
Sage
--- jfaure@sztele.com wrote: >
> Hi:
>
> What about this:
>
> router ospf 10
> ...
> default-information originate route-map
> no_exist128
>
> route-map no_exist128 deny 10
> match ip address 1
> route-map no_exist128 permit 20
>
>
> access-list 1 permit 128.10.1.0 255.255.255.0
>
>
> Regards
>
> Juan Faure Ferrer
> email: jfaure@sztele.com
>
This archive was generated by hypermail 2.1.4 : Thu May 01 2003 - 13:35:50 GMT-3