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.
Prolog information
Important:
This command is not allowed when FIPS mode is enabled.

Syntax

[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)#