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.
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
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.