| T.R | Title | User | Personal Name
 | Date | Lines | 
|---|
| 3592.1 |  | MARVIN::PATEL |  | Tue Apr 08 1997 02:53 | 17 | 
|  | 	>    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::CHIUANDREW |  | Tue Apr 08 1997 03:28 | 12 | 
|  |     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.3 |  | MARVIN::PATEL |  | Wed Apr 09 1997 02:35 | 12 | 
|  |     
	>    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 ?
 |