OSPF routing configuration takes place within a routing instance. Configure a routing instance using the router ospf command in global configuration command mode. Executing this command places you in the OSPF router configuration command mode for the specified OSPF router instance.