default-metric

To set the default metric values to be used for redistributed routes for RIP, use the command default-metric in RIP Router Configuration Mode. The command is used in conjunction with the redistribute router command to cause the current routing protocol to use the same metric value for all redistributed routes. The no form of the command sets the metric used with redistributed routes to its default value. The metric value given in the no form of the command will be ignored during the execution of the command.

default-metric

default-metric { [<value (1-16)>] }

no default-metric

no default-metric { [<short (1-16)>] }

Parameters

Parameter Type Description
<value>   Enter a route-map value. A default metric helps in solving the problem of redistributing routes with incompatible metrics. The default metric provides a reasonable substitute and enables the redistribution to proceed further. The metric value ranges between 1 and 16.

Mode

RIP Router Configuration Mode

Default

3

Examples

iS5Comm(config)# router rip

iS5Comm(config-router)# default-metric 1