Administrator Guide

Dell(conf-router_ospf-1)#
Dell(conf-router_ospf-1)#show config
!
router ospf 1
timers spf 2 5 msec
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 congure 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..
Assigning a Router ID
In CONFIGURATION ROUTER OSPF mode, assign the router ID.
The router ID is not required to be the router’s IP address. However, Dell Networking recommends using the IP address as the router ID for
easier management and troubleshooting. Optional process-id commands are also described.
Assign the router ID for the OSPFv2 process.
CONFIG-ROUTER-OSPF-id mode
router-id ip address
Disable OSPF.
556
Open Shortest Path First (OSPFv2 and OSPFv3)