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

What's the difference?

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

3 REPLIES

Re: What's the difference?

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.

New Member

Re: What's the difference?

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

Re: What's the difference?

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.

104
Views
0
Helpful
3
Replies
CreatePlease login to create content