router ospf

Use this command to enable or disable Open Shortest Path First (OSPF) configuration mode.

Syntax

router ospf process-id
no router ospf process-id

Parameters

process-id Specifies the process ID, an internally used identification number for an OSPF routing process run on a router. Multiple OSPF processes are configurable per router. Valid values are 1 to 65535.

Defaults

None.

Mode

Configuration command.

Usage

You must execute the router ospf command to enable the protocol before completing many OSPF-specific configuration tasks.

Multiple OSPF processes (process-id) are allowed per router. The S- K- and 7100-Series routers support 4 OSPF processes per VRF and 16 OSPF processes per router.

The “no” form of this command disables OSPF configuration mode.

Example

This example shows how to enable routing for OSPF process 1:

System(rw)->configure
System(rw-config)->router ospf 1
System(rw-config-ospf-1)->