default-metric

To configure the default IGP metric value for routes redistributed into BGP with the redistribute command, use the command default-metric in BGP Router Configuration Mode. A default metric can be configured to solve the problem of redistributing routes with incompatible metrics. Assigning the default metric will allow redistribution to occur. The no form of the command resets the Default IGP Metric value to its default value 0. If configured to 0, the metric received from the IGP route will be used. If configured to any other value, the MED value of the redistributed routes take this value. This value has no effect on the Direct routes.

default-metric

default-metric { <Default Metric Value(1-2147483647)> }

no default-metric

no default-metric
{ <Default Metric Value(1-2147483647)> }

Parameters

Parameter Type Description
<Default Metric Value(1-2147483647) integEr Enter a value for the default IGP metric value. This value ranges from 1 to 2147483647.

Mode

BGP Router Configuration Mode

Default

0

Examples

iS5Comm(config-router)# default-metric 300