O'Reilly logo

Cisco IOS in a Nutshell, 2nd Edition by James Boney

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required