Redistribution permits the importation of other routing protocols into OSPF such as RIP, as well as static and directly connected routes. Alternately, you can specify a route-map for redistribution into OSPF. Be aware that if the referenced route map has not yet been configured, then an empty route map is created with the specified name. See Configuring a Not So Stubby Area (NSSA) for an example of redistribution of static routes by an ASBR in an NSSA context.
Use the redistribute command in OSPF router configuration command mode to permit the redistributions of OSPF, RIP, static, or connected routes by this router.