Change the interface type to designate the interface as either passive, NBMA, or broadcast.
Enable OSPF globally.
Ensure that the interface uses an IP address.
If the interface is currently an NBMA interface with manually configured neighbors, you must first delete all manually configured neighbors.
Change the VRF instance as required to configure OSPF on a specific VRF instance. The VRF must have an RP trigger of OSPF. Not all parameters are configurable on non-default VRFs.