Name
default-metric — router
BGP:
default-metricnumber
no default-metricnumber
RIP:
default-metric number
no default-metric
IGRP/EIGRP:
default-metricbandwidth delay reliability loading mtu
no default metricbandwidth delay reliability loading mtu
OSPF:
default-metricnumber
no default-metricnumber
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, 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.