Juniper SRX 240 - use the policy to export the static routes into OSPF: # set protocols ospf export OSPF-EXPORT