default-metric (EIGRP)

To set metrics for an Enhanced Interior Gateway Routing Protocol (EIGRP), use the default-metric command. To remove the metric value and restore the default state, use the no form of this command.

default-metric bandwidth delay reliability loading mtu

no default-metric

Syntax Description

bandwidth

Minimum bandwidth of the route in kilobits per second. The range is from 1 to 16777215. The default value is 100000.

delay

Route delay in tens of microseconds. The range is from 1 to 16777215. The default value is 100 (tens of microseconds).

reliability

Likelihood of successful packet transmission expressed as a number between 0 and 255. The value 255 means 100-percent reliability; 0 means no reliability. The default value is 255.

loading

Effective bandwidth of the route expressed as a number from 1 to 255 (255 is 100-percent loading). The default value is 1.

mtu

Minimum maximum transmission unit (MTU) size of the route in bytes. The range is from 128 to 4352.


Command Default

bandwidth: 100000
delay: 100 (tens of microseconds)
reliability: 255
loading: 1

Command Modes

Address-family configuration mode
Router configuration mode
Router VRF configuration mode

Command History

Release
Modification

5.0(3)N1(1)

This command was introduced.


Usage Guidelines

Use the default-metric command with the redistribute command to use the same metric value for all redistributed routes. A default metric helps to solve the problem of redistributing routes with incompatible metrics. Whenever external metrics do not convert to EIGRP metrics, you can use a default metric to provide a reasonable substitute to the external metric and enable the redistribution to proceed.

This command requires the LAN Base Services license.

Examples

This example shows how to take redistributed Routing Information Protocol (RIP) metrics and translate them into EIGRP metrics with the following values: bandwidth = 1000, delay = 100, reliability = 250, loading = 100, and MTU = 1500.

switch(config)# router eigrp 1
switch(config-router)# address-family ipv4 unicast
switch(config-router-af)# redistribute rip 100 route-map FilterRIP
switch(config-router-af)# default-metric 1000 100 250 100 1500
switch(config-router-af)#

Related Commands

Command
Description

copy running-config startup-config

Saves the configuration changes to the startup configuration file.

redistribute

Redistributes routes from one routing domain into another routing domain.

show ip eigrp route-map statistics redistribute

Displays information about EIGRP route map statistics.