02-08-2007 11:32 PM - edited 03-03-2019 03:41 PM
What is the difference between a "cost" and a "weight" ?
02-09-2007 12:12 AM
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.
02-09-2007 12:19 AM
You've lost me completely. Please give some examples.
02-09-2007 12:31 AM
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.
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: