Name

default-metric — router

Synopsis

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 ...

Get CISCO IOS in a Nutshell now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.