What's the difference?

Unanswered Question
Feb 8th, 2007

What is the difference between a "cost" and a "weight" ?

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
mohammedmahmoud Fri, 02/09/2007 - 00:12

Hi there,

The cost = metric, for example; ospf:

cost = metric = 100 000 000 / Interface bw

While the weight might have to meanings, the first is the factor that might be used to weight a parameter in the cost equation, or in BGP the weight is one of the Path Attributes used by BGP to influence the path selection (Its a local Cisco Proprietary attribute).

HTH, please rate if it does,

Mohammed Mahmoud.

mohammedmahmoud Fri, 02/09/2007 - 00:31


Look the routing protocols use the cost (or metric) to choose the best path from multiple paths to the same destination (the lower the cost the preferable the path), while the weight is a factor that can used to influence the effectiveness of a certain parameter in the equation used to calculate the cost (for example the K values used in EIGRP metric calculation can be thought as like weights per the metric parameters which are, bw, delay, ...).


Mohammed Mahmoud.


This Discussion