Command Reference Guide Router (OSPF) Configuration Command Set
61200510L1-35E Copyright © 2005 ADTRAN 1307

default-metric <value>

Use the default-metric command to set a metric value for redistributed routes.
Syntax Description
<value> Sets the de fault metric value (range: 0 to 4,294,967,295).
Default Values
By default, default-metric value is set at 20.
Applicable Platforms
This command applies to the NetVanta 300, 1000R, 2000, 3000, 4000, and 5000 and Total Access 900
Series units.
Command History
Release 3.1 Command was introduced.
Functional Notes
The metric value defined using the redistribute command overri des the default-metric command’s metric
setting. Refer to redistribute ospf [metric <value>] on page 1322 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