Add OSPF on a port
Change 1 for the OSPF instance ID.
interface ge/1/1
ip ospf 1 area 0
Set default-information originate
Default-information originate is used to share the default route with other routers.
In the following command change 1 to your OSPF instance ID
router ospf 1
default-information originate always