Administrator Guide
Example
Dell#
Dell#conf
Dell(conf)#router ospf 1
Dell(conf-router_ospf-1)#timer spf 2 5
Dell(conf-router_ospf-1)#
Dell(conf-router_ospf-1)#show config
!
router ospf 1
timers spf 2 5
Dell(conf-router_ospf-1)#
Dell(conf-router_ospf-1)#end
Dell#
For a complete list of the OSPF commands, refer to the OSPF section in the Dell Networking OS Command
Line Reference Guide document.
Enabling OSPFv2
To enable Layer 3 routing, assign an IP address to an interface (physical or Loopback). By default, OSPF,
similar to all routing protocols, is disabled.
You must configure at least one interface for Layer 3 before enabling OSPFv2 globally.
1 Assign an IP address to an interface.
CONFIG-INTERFACE mode
ip address ip-address mask
The format is A.B.C.D/M.
If you are using a Loopback interface, refer to Loopback Interfaces.
2 Enable the interface.
CONFIG-INTERFACE mode
no shutdown
3 Return to CONFIGURATION mode to enable the OSPFv2 process globally.
CONFIGURATION mode
router ospf process-id
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 with the OSPF process.
If you try to enter an OSPF process ID, or if you try to enable more OSPF processes than available Layer
3 interfaces, prior to assigning 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..
Open Shortest Path First (OSPFv2 and OSPFv3) 641