Router (RIP) Configuration Command Set

redistribute ospf [metric <value>]

Use the redistribute ospf command to advertise routes from one protocol to another, regardless of the routing protocol implemented on the routing domain. Using the ospf keyword allows the propagation of OSPF routes into RIP. Use the no form of this command to disable the propagation of the specified route type.

Syntax Description

ospf

Optional keyword that specifies the Secure Router OS to import OSPF routes into

 

RIP.

metric <value>

Optional. Specifies the hop count to use for advertising redistributed OSPF routes

 

in RIP.

Default Values

By default, this command is disabled.

Command Modes

(config-rip)#

Router (RIP) Configuration Mode required

Functional Notes

Redistributing OSPF routes imports those routes into RIP without the interfaces in question actually participating in RIP. The OSPF routes imported this way are not covered by a network command and therefore do not send/receive RIP traffic.

If redistribute ospf is enabled and no metric value is specified, the value defaults to 0. The metric value defined using the redistribute ospf metric command overrides the default-metriccommand’s metric setting. See the section default-metric <value> on page 896 for more information.

Usage Examples

The following example imports OSPF routes into RIP:

(config)#router rip (config-rip)#redistribute ospf

5991-2114

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

900

Page 900
Image 900
HP 7000 dl Router manual Redistribute ospf metric value, Config#router rip config-rip#redistribute ospf