Redistribute static route to OSPF with filter

i have many static routes and need to redistribute only some routes to OSPF, not all of the static routes . Could anyone give me advice?
Thank you very much for help.

Routing filter add your filter to ospf-out or what ever filter list you have selected on the ospf instance.

The best is not to import just add networks and set the interfaces to passive. If the routes are next hops that wont work and you will need to edit ospf instance and select redistribute static.

IPV6 ospfv3 can’t be filtered at the moment no comment from mt as of when to expect that…