Default-metric <value – ADTRAN 1000R Series User Manual

Page 1307

Advertising
background image

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 default 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 overrides 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

Advertising