ADTRAN 5000 Series User Manual

Page 1123

Advertising
background image

Command Reference Guide

Router (OSPF) Configuration Command Set

61200990L1-35E

Copyright © 2005 ADTRAN

1123

redistribute connected [metric <value> | metric-type <type> | subnets]

Use the redistribute connected command to advertise routes from one protocol to another. Using the
connected keyword allows the advertisement of connected routes into the OSPF routing protocol. This
will advertise all connected routes on OSPF-enabled interfaces. It does not enable OSPF on all interfaces.
Use the no form of this command to disable the propagation of the specified route type.

Syntax Description

metric <value>

Optional. Specifies a metric value to be carried from one OSPF process to the
next (if no other value is specified).

metric-type <type>

Optional. Specifies a type 1 or type 2 external route as the external link type. If not
specified, the default is 2.

subnets

Optional. Specifies subnet redistribution when redistributing routes into OSPF.

Default Values

By default, this command is disabled.

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.

Release 10.1

Subcommands were added.

Functional Notes

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

Usage Examples

The following example imports connected routes into OSPF:

(config)#router ospf

(config-ospf)#redistribute connected

Advertising