ExampleDell#Dell#confDell(conf)#router ospf 1Dell(conf-router_ospf-1)#timer spf 2 5Dell(conf-router_ospf-1)#Dell(conf-router_ospf-1)#show config!router ospf 1timers spf 2 5Dell(conf-router_ospf-1)#Dell(conf-router_ospf-1)#endDell#For a complete list of the OSPF commands, refer to the OSPF section in the Dell Networking OS Command Line Reference Guidedocument.Enabling OSPFv2To enable Layer 3 routing, assign an IP address to an interface (physical or Loopback). By default, OSPF, similar to all routingprotocols, is disabled.You must configure at least one interface for Layer 3 before enabling OSPFv2 globally.If implementing multi-process OSPF, create an equal number of Layer 3 enabled interfaces and OSPF process IDs. For example, ifyou create four OSPFv2 process IDs, you must have four interfaces with Layer 3 enabled.1. Assign an IP address to an interface.CONFIG-INTERFACE modeip address ip-address maskThe format is A.B.C.D/M.If you are using a Loopback interface, refer to Loopback Interfaces.2. Enable the interface.CONFIG-INTERFACE modeno shutdown3. Return to CONFIGURATION mode to enable the OSPFv2 process globally.CONFIGURATION moderouter ospf process-id [vrf {vrf name}]• vrf name: enter the keyword VRF and the instance name to tie the OSPF instance to the VRF. All network commandsunder this OSPF instance are later tied to the VRF instance.The range is from 0 to 65535.The OSPF process ID is the identifying number assigned to the OSPF process. The router ID is the IP address associated withthe OSPF process.After the OSPF process and the VRF are tied together, the OSPF process ID cannot be used again in the system.If you try to enter an OSPF process ID, or if you try to enable more OSPF processes than available Layer 3 interfaces, prior toassigning an IP address to an interface and setting the no shutdown command, the following message displays:Dell(conf)#router ospf 1% Error: No router ID available.586 Open Shortest Path First (OSPFv2 and OSPFv3)