RE: ospf conditional advertisement

From: Yadav, Arvind K (EM, GECIS) (Arvind.Yadav@gecis.ge.com)
Date: Mon May 12 2003 - 05:05:22 GMT-3


It seems the match condition behavior will depend where the route-map is applied. If it is applied with redistribution then it behave as mentioned in Option "a", but in case of
d-i-o it behave as mentioned in Option b.

Arvind

-----Original Message-----
From: Marc [mailto:tan@dia.janis.or.jp]
Sent: Monday, May 12, 2003 9:16 AM
To: 'Kevin Tang'; 'Jean-Francois Vaillancourt'; Ccielab (E-mail)
Subject: RE: ospf conditional advertisement

Have you tried this? I just don't see how this can be correct unless it is
an exception for route-maps associated with d-i-o statements.

Two options....

a. If you pass a route 1.1.1.0/24 via redistribution through a route map,
and you have match ip address 1.1.1.0 condition, this condition is only
looking at the parameters of the route you handed to it. i.e. looking at the
destination 1.1.1.0 of the route you passed to it. You are "handing" a route
to the route-map and saying judge this for me. You are not saying go check
the route-table for this route. This makes sense because you "pass" routes
through a route-map and it makes its assessment and passes it back or not.

b. If you pass a route 1.1.1.0/24 via redistribution through a route map,
and you have match ip address 1.1.1.0 condition, the route-map looks for the
existance of 1.1.1.0 in the route-table?

Case B would mean if you pass many routes through a route-map and only one
match condition (with corresponding existing route), then all routes you
pass through the route-map satisfy the condition and return true, which is
not what happens.

Is this an exception for d-i-o statements?

Marc

> -----Original Message-----
> From: Kevin Tang [mailto:Kevin.Tang@telecom.co.nz]
> Sent: Monday, May 12, 2003 12:08 PM
> To: Marc; Jean-Francois Vaillancourt
> Subject: RE: ospf conditional advertisement
>
>
>
> Conditional route-map for OSPF
>
>
> router ospf 10
> network 150.100.1.0 0.0.0.255 area 0
> default-information originate route-map d2o
> !
> access-list 50 permit 135.4.1.0 0.0.0.255
> route-map d2o permit 10
> match ip address 50
>
> Make sure no "always" in default-information originate
> route-map d2o line, otherwise route-map not working any more.
>
> It only care the 135.4.1.0 in the routing table, do not care
> it's not in the routing table, so following line does not
> work if we want check it's not in the routing table.
>
> route-map d2o deny 10
> match ip address 50
> !
> route-map d2o permit 20
>
> -----Original Message-----
> From: Marc [mailto:tan@dia.janis.or.jp]
> Sent: Monday, 12 May 2003 11:52
> To: 'Jean-Francois Vaillancourt'; 'Ccielab (E-mail)'
> Subject: RE: ospf conditional advertisement
>
>
> JF, comments inline
>
> >> 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
>
> This don't think this is how route-maps on redistribution
> work. Is this an
> exception for match condition in route-maps on d-i-o
> statements (and without
> "always" keyword)?
>
> > Conditional advertising is not supported with route maps
> referring to
> > next-hop, only the presence of specific route(s).
>
> With BGP, conditional advertising can be done with next-hop.
> I recall seeing
> samples on CCO and trying it. However, I don't recall
> off-hand if this was
> normal routes through redistribution or on d-i-o statement. I
> had assumed it
> could be done with IGP but not tried.
>
> Thanks, Marc
>
>
> --------------------------------------------------------------
> ----------------
> "This communication, including any attachments, is confidential.
> If you are not the intended recipient, you should not read
> it - please contact me immediately, destroy it, and do not
> copy or use any part of this communication or disclose
> anything about it. Thank you."
>
> --------------------------------------------------------------
> ----------------



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