01-18-2011 12:30 AM - edited 03-06-2019 03:02 PM
all,
please advise which is more practical and the proper design to use OSPF cost for route metric. is it the bandwidth or ip ospf cost interface command?.
R1(config)#int s0/0/0
R1(config-if)#bandwidth ?
<1-10000000> Bandwidth in kilobits
R1(config)#int s0/0/0
R1(config-if)#ip ospf cost ?
<1-65535> Cost
Solved! Go to Solution.
01-19-2011 12:16 AM
Hi,
could i set up both coz we have QoS in place for our WAN links?
of course the ip ospf cost command overrides the cost calculated with the reference-bandwidth
But it all depends of your topology and what you want to achieve with it.if you find the ospf cost of your wan links is ok with the
default algorithm don't change anything for these links.
Concerning your Gig and Te links with the default they'll all have same cost but then the routing decision will also be linked to the ospf design you have.
Regards.
Alain.
01-18-2011 12:35 AM
Hi,
As bandwidth command is also used in QoS and as reference bandwidth is 100000 Mbps then I would suggest using the ip ospf cost method
if you are using QoS or if you have Gig or TenGig ports because otherwise cost = 1 like Fastethernet.
Regards.
Alain
01-18-2011 11:39 PM
hi alain,
thanks for your feedback! i guess i should go with the ip ospf cost command since majority of our links are at gig and 10 gig e ports. one last thing, could i set up both coz we have QoS in place for our WAN links?
01-19-2011 12:16 AM
Hi,
could i set up both coz we have QoS in place for our WAN links?
of course the ip ospf cost command overrides the cost calculated with the reference-bandwidth
But it all depends of your topology and what you want to achieve with it.if you find the ospf cost of your wan links is ok with the
default algorithm don't change anything for these links.
Concerning your Gig and Te links with the default they'll all have same cost but then the routing decision will also be linked to the ospf design you have.
Regards.
Alain.
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