DGS-6604
mm
default-metric (IPv6 OSPF)
CLI Reference Guide
152
default-metric (IPv6 OSPF)
To set the default metric for IPv6 OSPF, use the
default-metric
command. 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
METRIC-VALUE
: 20
Command Mode
Router configuration
Usage Guideline
The default-metric command is used in conjunction with the
redistribute
router
configuration command (redistribute (IPv6 OSPF) command on page 520) 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 does not convert, using a
default metric provides a reasonable substitute and enables the redistribution to
proceed.
The order of the setting precedence to determine the metric is:
set metric in redistributed command > default-metric setting.
Example
The following example shows an IPv6 OSPF redistributing routes from RIP. All
redistributed routes are advertised with a metric of 10.
Syntax Description
METRIC-VALUE
Default metric value. A number from 1 to 16777214.
Switch > enable
Switch # configure terminal
Switch (config) # router ipv6 ospf
Switch (config-router) # default-metric 10
Switch (config-router) # redistribute rip
Summary of Contents for DGS-6600 Series
Page 1: ...0 9 3 ...