This command sets the default metric for external routes imported from
default-metric
other protocols. Use the no form to remove the default metric for the
supported protocol types.
S
YNTAX
default-metric metric-value
no default-metric
C
OMMAND
Router Configuration
D
EFAULT
20
C
OMMAND
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
the
metric value to be used for all imported external routes.
E
XAMPLE
Console(config-router)#default-metric 100
Console(config-router)#
R
ELATED
redistribute (1052)
metric-value – Metric assigned to all external routes imported from
other protocols. (Range: 0-16777214)
M
ODE
S
ETTING
U
SAGE
command. When a metric value has not been configured by
redistribute
command, the default-metric command sets the
C
OMMANDS
– 1051 –
| IP Routing Commands
C
45
HAPTER
Open Shortest Path First (OSPFv2)