Specifications

Command Reference Guide Router (OSPF) Configuration Command Set
61950860L1-35D © 2003 ADTRAN, Inc. 547
default-metric <value>
Use the default-metric command to set a metric value for redistributed routes.
Syntax Description
<value>
Set the default metric value (range: 0-4294967295).
Default Values
By default, this value is set at 20.
Command Modes
(config-ospf)# Router (OSPF or RIP) Configuration Mode required
Command History
Release 3.1 Command was introduced
Functional Notes
The metric value defined using the
redistribute
command overrides the
default-metric
commands metric
setting. See
redistribute ospf [metric <value>]
on page 538 for related information.
Usage Examples
The following example shows a router using both RIP and OSPF routing protocols. The example advertises
RIP-derived routes using the OSPF protocol and assigns the RIP-derived routes an OSPF metric of 10.
(config)#
router ospf
(config-ospf)#
default-metric 10
(config-ospf)#
redistribute rip