OSPF Configuration Guide for Cisco 8000 Series Routers, Cisco IOS XR Release

PDF

OSPF Configuration Guide for Cisco 8000 Series Routers, Cisco IOS XR Release

Redistribute routes into OSPF

Want to summarize with AI?

Log in

Configure OSPF route redistribution using a repeatable CLI workflow that follows the recommended command sequence.


Redistribute routes from an internal gateway protocol (IGP), such as BGP or another OSPF process, into your OSPF routing domain.

Perform this task after identifying the OSPF process, area numbers, interfaces, and deployment-specific routing requirements.

Before you begin

  • Determine the source protocol and routing policy for redistribution.

  • Review documentation on routing policy if necessary.

Follow these steps to configure and verify OSPF areas and neighbours:

Procedure

Configure the OSPF process to redistribute the specified routes, and the operational state reflects your intended deployment.

Example:


        Router# configure
        Router(config)# router ospf 1
        Router(config-ospf)# router-id 192.168.4.3
        Router(config-ospf)# redistribute bgp 100
        Router(config-ospf)# summary-prefix 10.1.0.0 255.255.0.0
      

        Router# configure
        Router(config)# router ospfv3 1
        Router(config-ospf)# router-id 192.168.4.3
        Router(config-ospf)# redistribute bgp 100
        Router(config-ospf)# summary-prefix 2010:11:22::/32
      

The OSPF process is configured to redistribute the specified routes, and the operational state reflects your intended deployment.