[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference noted::decnis

Title: DEC Network Integration Server (DECNIS)
Notice:Please read note 1 to use this conference effectively
Moderator:MARVIN::WELCH
Created:Wed Sep 18 1991
Last Modified:Thu Jun 05 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:3660
Total number of notes:15082

3592.0. "static route overriden by dynamic route?" by SNOFS1::63496::CHIUANDREW () Tue Apr 08 1997 03:00

    Hi,
    
    Customer would like to set up a static route where it WILL BE overriden
    by dynamic routes (learn from other routers via OSPF), is it correct to
    the use the METRIC parameter to do this?
    
    On DECnis,
    ncl>set rou cir w622-4-0 ip reach addr default metric xxx
    
    What should be the value of xxx (so that it can be overriden by dynamic
    routes?
    
    
    Is it correct to say, static route will always override dynamic route
    if the DEFAULT METRIC value is used?
    
    
    thanks in advance for help!
    Andrew Chiu - NSIS Sydney
    
T.RTitleUserPersonal
Name
DateLines
3592.1MARVIN::PATELTue Apr 08 1997 06:5317
	>    Customer would like to set up a static route where it WILL BE overriden
	>    by dynamic routes (learn from other routers via OSPF), is it correct to
	>    the use the METRIC parameter to do this?
	>    
	>    On DECnis,
	>    ncl>set rou cir w622-4-0 ip reach addr default metric xxx
	>    
	>    What should be the value of xxx (so that it can be overriden by dynamic
	>    routes?
	>    
	>    
	>    Is it correct to say, static route will always override dynamic route
	>    if the DEFAULT METRIC value is used?

Metric is the wrong attribute to use in this situation. What you should use is the route
preference. Create the static route(s) with a preference that is lower than the learnt
OSPF routes.
3592.2'preference' does not work for L1 router!SNOFS1::63496::CHIUANDREWTue Apr 08 1997 07:2812
    re .1,
    
    thanks for your quick answer.
    
    I was using preference before, but when DECnis started to learn OSPF
    routes, the preference for the default static route changed to a very
    large number (419xxxxx), and the DECnis is L1 router. That's why I
    asked whether we can use METRIC to change this case.
    
    Any idea/comment!
    
    Andrew Chiu - NSIS Sydney
3592.3MARVIN::PATELWed Apr 09 1997 06:3512
    
	>    I was using preference before, but when DECnis started to learn OSPF
	>    routes, the preference for the default static route changed to a very
	>    large number (419xxxxx), and the DECnis is L1 router. That's why I
	>    asked whether we can use METRIC to change this case.
	>    
	>    Any idea/comment!

This does not make sense. Once a route has a preference, it does not change when
the same route is learnt from another protocol. It may stop being used for forwarding
because the new route has a better preference. Where did you get the number 419xxxxx.
Have you got the NCL output that showed this preference ?