Re: ospf conditional advertisement

From: Jean-Francois Vaillancourt (hans@cam.org)
Date: Sun May 11 2003 - 11:26:00 GMT-3


At 2003-05-11, Marc wrote:
> default-information originate always route-map CONDITIONAL-&-METRIC
[...]
>access-list 1 permit 45.2.2.0 0.0.0.3 <---------------???
>!
>route-map CONDITIONAL-&-METRIC permit 10
> match ip address 1 <---------------------------WHAT is this matching?
[...]

>My question, what is the match condition in the route-map comparing.

This would advertise a default route into the OSPF domain only if the
subject router has 45.2.2.0/30 in its routing table (and obviously has a
default route for itself, else you'd have to use "always" and the whole
route-map thing would be moot). This is not matching 0.0.0.0 as you
suggest. If the connected interface is in 45.2.2.0/30 and goes down, or if
the 45.2.2.0/30 route is representative of outside connectivity and goes
down, the default route will not be advertised.

>understand you can do conditional default route advertising if you do a
>double match, say match ip address and then match ip next hop under, but
>this uses match ip address of 0.0.0.0.

Conditional advertising is not supported with route maps referring to
next-hop, only the presence of specific route(s).

HTH,

JF



This archive was generated by hypermail 2.1.4 : Mon Jun 02 2003 - 15:13:40 GMT-3