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

What's the difference?

bradlesliect
Level 1
Level 1

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

3 Replies 3

mohammedmahmoud
Level 11
Level 11

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.

You've lost me completely. Please give some examples.

Hi,

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, ...).

HTH,

Mohammed Mahmoud.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: