cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3645
Views
0
Helpful
5
Replies

OSPF cost & L3 etherchannel

cisconoobie
Level 2
Level 2

If I bundle 3 gigabit links into a Layer 3 etherchannel, will ospf notice the bandwidth of 3Gbps when it calculates the ospf cost? or does it use 1 Gbp?

5 Replies 5

lamav
Level 8
Level 8

Hi:

OSPF will definitely treat the EtherChannel as a 3 Gbps link and calculate the Cost accordingly.

Remember that OSPF calculates Cost based on a reference bandwidth of 10 to the 8 (100 million)/configured bandwidth. So, a 100 M FDDi connection defaults to a cost of 1. Anything higher than that will still default to a cost of 1 (since you cannot have a fractional Cost) and nothing will be gained by havin gthat extra bandwidth configured for the interface.

So, to accomodate high-speed links above 100M, use the 'auto-cost reference-bandwidth command while in router configuration mode or use the 'ip ospf-cost' command at the interface to hardcode the Cost.

HTH

VL

I set the auto-cost reference bandwidth to 1000000 for future 10Gbps upgrades and the costs dont add up.

What would the formula be for the 3Gbps connection?

1,000,000/3,000 ?

Hi;

The formula that Cisco's OSPF implementation uses to determine a link's Cost is 100,000,000 (100M)divided by the reference bandwidth. You have typed 1 million divided by the reference bandwidth.

You have way too many zeros for 10Gbps.

The command is reflected in Mbps.

auto-cost reference-bandwidth mbps

for 10Gbps

auto-cost reference-bandwidth 10000

http://www.cisco.com/univercd/cc/td/doc/product/software/ios124/124cr/hirp_r/rte_osph.htm#wp999355

__

Edison.

edison:

Good catch. I didnt read his post the way you did. I though tthe final reference bandwidth he configured was 1,000,000 (1M), I didnt think that he may have actually entered "1000000" as the argument in the command itself.

Maybe that's what he did....

Review Cisco Networking products for a $25 gift card