router ospf

Last Updated : May 24, 2019 |

Enables OSPF protocol on the system and enters the router configuration context. Use no router ospf to restore the default value, and disable OSPF globally.

Syntax

Important:

This command is not allowed when FIPS mode is enabled.

[no] router ospf

User level

read-write

Context

general

Example

To enable OSPF protocol and enter the router configuration context:

Gxxx-001(super)# router ospf
Gxxx-001(super router:ospf)#