cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1212
Views
0
Helpful
3
Replies

ospf cost( metric)

sarahr202
Level 5
Level 5

Hi every body

how is every one doing ?

To all my fellow Americans,  Happy  4th of july.

I was reading about  OSPF cost.  The  book says  Cisco  routers  use  bandwidth to derive ospf cost.  I was wondering  if other vendors  also use the bandwidth to derive ospf cost.  What does  the ospf rfc say   as to   how  this ospf cost  should be determined ?

thanks and  have safe ,nice weekend.

2 Accepted Solutions

Accepted Solutions

Joseph W. Doherty
Hall of Fame
Hall of Fame

Disclaimer

The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.

Liability Disclaimer

In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.

Posting

Correct, Cisco routers usually use a base cost of 100 Mbps equals an OSPF cost of 1 (by default, divide 100 Mbps by link bandwidth).

Other vendors vary in whether they auto cost or not.  Some that didn't now do with later versions of their code, although they may also use a different base metric.

Been a while since I've read the RFC, but recall cost metric is whatever you want it to be, i.e. not tied to any one network attribute.  What's important about OSPF cost, of course, is how it's used to derive best path.

View solution in original post

Richard Burts
Hall of Fame
Hall of Fame

The RFC says that the metric is cost. But it does not specify how the cost is to be determined and leaves that as a vendor implementation detail.

HTH

Rick

Sent from Cisco Technical Support iPhone App

HTH

Rick

View solution in original post

3 Replies 3

Joseph W. Doherty
Hall of Fame
Hall of Fame

Disclaimer

The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.

Liability Disclaimer

In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.

Posting

Correct, Cisco routers usually use a base cost of 100 Mbps equals an OSPF cost of 1 (by default, divide 100 Mbps by link bandwidth).

Other vendors vary in whether they auto cost or not.  Some that didn't now do with later versions of their code, although they may also use a different base metric.

Been a while since I've read the RFC, but recall cost metric is whatever you want it to be, i.e. not tied to any one network attribute.  What's important about OSPF cost, of course, is how it's used to derive best path.

majed.balsharaf
Level 1
Level 1

Hi Sarahr202

    We are using different router and same routing protocol ospf the function of ospf is to calculate its metric with cost path.

Richard Burts
Hall of Fame
Hall of Fame

The RFC says that the metric is cost. But it does not specify how the cost is to be determined and leaves that as a vendor implementation detail.

HTH

Rick

Sent from Cisco Technical Support iPhone App

HTH

Rick