DGS-6604
mm
default-metric (RIP IPv6)
CLI Reference Guide
154
default-metric (RIP IPv6)
To set the default metric for IPv6 RIP, use the default-metric. To return the metric
to its default value, use the no form of this command.
default-metric
METRIC-VALUE
no default-metric [
METRIC-VALUE
]
Default
The default metric value is 1
Command Mode
Router configuration
Usage Guideline
The default-metric command is used in conjunction with the redistribute router
configuration command to cause the current routing protocol to use the same
metric value for all redistributed routes. A default metric helps solve the problem
of redistributing routes with an incompatible metric. Whenever a metric cannot
convert, using a default metric provides a reasonable substitute and enables the
redistribution to proceed.
Example
The following example shows IPv6 RIP redistributing routes from OSPF. All
redistributed routes are advertised with a metric of 10.
Syntax Description
METRIC-VALUE
Default metric value. A number from 1 to 16.
Switch > enable
Switch # configure terminal
Switch (config) # router ipv6 rip
Switch (config-router) # default-metric 10
Switch (config-router) # redistribute ospf