Command:

metric weights


Mode:

Router(config-router)#

Syntax:

metric weights tos k1 k2 k3 k4 k5

no metric weights


Syntax Description:

tos

Type of service. Currently, it must always be zero.

k1-k5

Constants that convert an IGRP or EIGRP metric vector into a scalar quantity.


Command Description:

To allow the tuning of the IGRP or EIGRP metric calculations, use the metric weights router configuration command. To reset the values to their defaults, use the no form of this command.

Usage Guidelines

Use this command to alter the default behavior of IGRP or EIGRP routing and metric computation and allow the tuning of the metric calculation for a particular type of service (TOS).

If k5 equals 0, the composite IGRP or EIGRP metric is computed according to the following formula:
metric = [k1 * bandwidth + (k2 * bandwidth)/(256 - load) + k3 * delay]

If k5 does not equal zero, an additional operation is done:
metric = metric * [k5 / (reliability + k4)]

Bandwidth is inverse minimum bandwidth of the path in bits per second scaled by a factor of 2.56 * 10^12. The range is from a 1200-bps line to 10 terabits per second.

Delay is in units of 10 microseconds. This gives a range of 10 microseconds to 168 seconds. A delay of all ones indicates that the network is unreachable. The delay parameter is stored in a 32-bit field, in increments of 39.1 nanoseconds. This gives a range of 1 (39.1 nanoseconds) to hexadecimal FFFFFFFF (decimal 167,503,724,504 nanoseconds). A delay of all ones (hexadecimal FFFFFFFF) indicates that the network is unreachable.

defaults:  

tos: 0
k1: 1
k2: 0
k3: 1
k4: 0
k5: 0


Example:

The following example sets the metric weights to slightly different values than the defaults:

Router(config)#router igrp 109
Router(config-router)#network 131.108.0.0
Router(config-router)#metric weights 0 2 0 2 0 0

Misconceptions:
None

Related Commands:
show ip protocols

� Cisco Systems, Inc. 2001, 2002, 2003
World Wide Education

Converted from CHM to HTML with chm2web Pro 2.85 (unicode)