Router (OSPF) Configuration Command Set

default-metric <value>

Use the default-metriccommand 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

Functional Notes

The metric value defined using the redistribute command overrides the default-metriccommand’s metric setting. See redistribute ospf [metric <value>] on page 900 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

5991-2114

© Copyright 2005 Hewlett-Packard Development Company, L.P.

909

Page 909
Image 909
HP 7000 dl Router manual Value Set the default metric value range