Merit Network
Can't find what you're looking for? Search the Mail Archives.
  About Merit   Services   Network   Resources & Support   Network Research   News   Events   Home

Discussion Communities: Merit Network Email List Archives

North American Network Operators Group

Date Prev | Date Next | Date Index | Thread Index | Author Index | Historical

Re: Routing preferences question

  • From: Pascal Gloor
  • Date: Thu Jan 30 09:56:51 2003

> Does anybody know how/if I can force cisco router to consider ospf route
> (I'll consider other igp protocol if its possible) from particular source
> to be prefereble over connected and locally-entered static routes. This is
> needed for failover project I'm doing. Please note that especially big
> question is with "connected" route through subinterface, which I can't
> find any way to override with igp, for static I could at least make them
> learned igp routes.

For a static route you can force another metric:
ip route x.x.x.x y.y.y.y z.z.z.z metric <worse than ospf>

afaik a connected interface will always have a weight of 0 (best) and it's
not changable.
BUT you can force the OSPF metric when importing that connected-route into
OSPF.

!
router ospf 123
 redistribute static metric xxxxx
!

This will not change the "best route" locally on the router, but only on the
rest of your OSPF network...

P.





Discussion Communities


About Merit | Services | Network | Resources & Support | Network Research
News | Events | Contact | Site Map | Merit Network Home


Merit Network, Inc.