Enable OSPF for the switch. If you do not use an optional parameter with the command, you enter the OSPF Router Configuration mode.
default router ospf
default router ospf enable
default router ospf ipv6-enable
no router ospf
no router ospf enable
no router ospf ipv6-enable
router ospf
router ospf enable
router ospf ipv6-enable
None
Global Configuration