Home > Articles > Cisco > CCNP Routing and Switching

  • Print
  • + Share This
This chapter is from the book

Redistributing Connected Networks

Router(config)#router ospf 1

Starts the OSPF routing process.

Router(config-router)#redistribute connected

Redistributes all directly connected networks.

NOTE: It is not necessary to redistribute networks that are already configured under the routing protocol.

NOTE: The connected keyword refers to routes that are established automatically by virtue of having enabled IP on an interface. For routing protocols such as OSPF, Intermediate System-to-Intermediate System (IS-IS), and EIGRP, these routes are redistributed as external to the autonomous system.

Router(config-router)#redistribute connected metric 50

Redistributes all directly connected networks and assigns them a starting metric of 50.

NOTE: The redistribute connected command is not affected by the default-metric command.

  • + Share This
  • 🔖 Save To Your Account