11-30-2007 08:20 AM - edited 03-03-2019 07:45 PM
Hi,
My router A is connected to 2 upstream routers,as below,
1-Router A---fa0/0---R1
2-Router A---Fa0/1---R2
All 3 routers running OSPF , I would like Router A to prefer 1st link over 2nd link.
does puting the lower cost on 1st link interface will do the trick ?
Regards,
11-30-2007 08:24 AM
OSPF prefers lowest cost path to the destination. So if you have 2 routers & if your preference is to reach R1 than R2, then manually assign cost on interface connecting to R1 some what lower than R2.
11-30-2007 08:27 AM
Hi Mohammed
You could either put a lower cost on fa0/0 or a higher cost on fa0/1 or use the bandwidth statement but the bandwidth statement will affect other things such as QOS.
HTH
Jon
11-30-2007 10:04 AM
Because it's a fastethernet port, it is advisable not to assign any bandwidth & let it run defaults. You may play with cost to achieve desired results.
12-02-2007 11:45 AM
OSPF chooses the outgoing interface cost and hence you would be required to tune the cost value on both the routers.
HTH
Narayan
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide