metric weights




metric weights tos k1 k2 k3 k4 k5

no metric weights

Syntax Description:


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


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.


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


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

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


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)