01-13-2017 01:59 PM - edited 03-08-2019 08:54 AM
I have ospf running on two interfaces on a router. One Interface is 10G and the other is 1G. Most of the traffic is going through the 1G but i'd prefer it to go to 10G. The cost is obviously the same. What is the best way to prefer 10G and use 1G in the event of failure basically. I've done it before just don't remember what i did. BTW - IOS-XR
01-13-2017 02:51 PM
Hello,
you could simply use the 'cost' interface command. If you set the cost of the 10G interface to e.g. 10, and the cost of the 1GB interface to e.g. 100, OSPF will prefer the 10G interface.
http://www.cisco.com/c/en/us/td/docs/ios_xr_sw/iosxr_r3-7/routing/command/reference/rr37ospf.html#wp999120
01-13-2017 03:35 PM
Hello
Apply on each router
router ospf xx
auto-cost reference-bandwith 10000
res
Paul
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