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

default-metric — router

BGP:

default-metric number
no default-metric number

RIP:

default-metric number
no default-metric

IGRP/EIGRP:

default-metric bandwidth delay reliability loading mtu
no default metric bandwidth delay reliability loading mtu

OSPF:

default-metric number
no default-metric number

Configures

Default metric for routes learned from a different routing protocol

Default

Depends on the protocol

Description

When redistributing routes from one routing protocol to another, the metrics used by the different protocols are not compatible. This command allows you to set the metric values for routes learned from other protocols.

For RIP and OSPF, this command simply sets the metric value to number.

For BGP, this command sets the value for the multi-exit discriminator (MED) metric to number.

For IGRP and EIGRP, this command sets the default metric for redistributing other protocols into EIGRP. (Note that IGRP and EIGRP have compatible metrics, so the default metric set by this command is not required when distributing routes between these two protocols.) The default metric is computed using the following parameters:

bandwidth

The route bandwidth measured in kilobits per second.

delay

The route delay in microseconds.

reliability

An estimate of the reliability of packet transmission on this link. It must be a value between 0 and 255; 255 indicates 100% reliability and 0 indicates that the link is completely unreliable (no packets are transferred correctly).

loading

The effective bandwidth ...

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