Name

metric weights — router

Synopsis

metric weights tos k1 k2 k3 k4 k5
no metric weights

Configures

EIGRP and IGRP metric calculation

Default

tos=0; k1=1; k2=0; k3=1; k4=0; k5=0

Description

This command allows you to tune the routing metric for EIGRP and IGRP. The metric is calculated as follows:

If k5 greater than zero, the calculation continues:

The tos (Type of Service) parameter is currently unused. It should be set to 0 when you use this command.

Example

The following commands modify the values of k4 and k5 and set the other values to their defaults:

router igrp 100
   network 10.10.0.0
   metric weights 0 1 0 1 2 2

Get Cisco IOS in a Nutshell, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.