C
HAPTER
45
| IP Routing Commands
Open Shortest Path First (OSPFv2)
– 1051 –
default-metric This command sets the default metric for external routes imported from
other protocols. Use the no form to remove the default metric for the
supported protocol types.
SYNTAX
default-metric metric-value
no default-metric
metric-value – Metric assigned to all external routes imported from
other protocols. (Range: 0-16777214)
COMMAND MODE
Router Configuration
DEFAULT SETTING
20
COMMAND USAGE
â—† The default metric must be used to resolve the problem of
redistributing external routes from other protocols that use
incompatible metrics.
â—† This command does not override the metric value set by the
redistribute command. When a metric value has not been configured by
the redistribute command, the default-metric command sets the
metric value to be used for all imported external routes.
EXAMPLE
Console(config-router)#default-metric 100
Console(config-router)#
RELATED COMMANDS
redistribute (1052)