Heads Up :
The post you are writing will appear in a public forum. Please ensure all content is appropriate for public consumption. Review the employee guidelines for the community here.
Sonain's post should be the one marked as the solution.you will create a prefix list, then route map, then under the ospf process:redistribute static subnets route-map "route_map_name"