Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

ospf cost calculation

Hi expert,

From the book , there is a default ospf metric all all different interface type ( e.g. Fast ethernet, ethernet ....), buti don't know how can this value can be obtained

Let 's say, the formula is cost = 10 to the power 8 / BW

if ethernet interface, then cost = 10 to the power 8 / 10 to the power 6, the result will be 10 to the power 2

So , how come the book answer of cost 10 come out ?

1 ACCEPTED SOLUTION

Accepted Solutions
Hall of Fame Super Blue

Re: ospf cost calculation

Hi

The formula for calculating OSPF cost is:-

10 to the power 8 / BW in bits/sec

So

Bandwidth calculation:

Ethernet = 10Mbits per sec = 10 x 1000 = 10000 kilobits x 1000 = 10000000 bits = 10 to the power 7

10 to the power 8 = 100000000

10 to the power 7 = 10000000

100000000 / 10000000 = 10

HTH

Jon

2 REPLIES
Hall of Fame Super Blue

Re: ospf cost calculation

Hi

The formula for calculating OSPF cost is:-

10 to the power 8 / BW in bits/sec

So

Bandwidth calculation:

Ethernet = 10Mbits per sec = 10 x 1000 = 10000 kilobits x 1000 = 10000000 bits = 10 to the power 7

10 to the power 8 = 100000000

10 to the power 7 = 10000000

100000000 / 10000000 = 10

HTH

Jon

Gold

Re: ospf cost calculation

3548
Views
4
Helpful
2
Replies
CreatePlease login to create content