router ospf

Enable OSPF for the switch. If you do not use an optional parameter with the command, you enter the OSPF Router Configuration mode.

Syntax

Command Parameters

enable
Enables OSPF routing on the switch.
ipv6-enable
Enables OSPFv3 for IPv6 routing.

Default

None

Command Mode

Global Configuration