Reference Guide

Open Shortest Path First (OSPFv2 and OSPFv3) | 633
Enable OSPFv2 on interfaces
Each interface must have OSPFv2 enabled on it. It must be configured for Layer 3 protocol and not be
shutdown. OSPFv2 can also be assigned to a loopback interface as a virtual interface.
OSPF functions and features such as MD5 Authentication, Grace Period, Authentication Wait Time, etc.,
are assigned on a per interface basis.
Figure 29-9 presents an example of assigning an IP address to an interface and then assigning an OSPFv2
area that includes that Layer 3 interface’s IP address.
Figure 29-9. Configuring an OSPF Area Example
Dell Force10 recommends that the OSPFv2 Router ID be the interface IP addresses for easier management
and troubleshooting.
Use the
show config command in CONFIGURATION ROUTER OSPF mode to view the configuration.
OSPF, by default, sends hello packets out to all physical interfaces assigned an IP address that are a subset
of a network on which OSPF is enabled. Use the
show ip ospf interface command to view the interfaces
currently active and the areas assigned to the interfaces.
Note: If using features like MD5 Authentication, ensure all the neighboring routers are also
configured for MD5.
FTOS#(conf)#int gi 4/44
FTOS(conf-if-gi-4/44)#ip address 10.10.10.10/24
FTOS(conf-if-gi-4/44)#no shutdown
FTOS(conf-if-gi-4/44)#ex
FTOS(conf)#router ospf 1
FTOS(conf-router_ospf-1)#network 1.2.3.4/24 area 0
FTOS(conf-router_ospf-1)#network 10.10.10.10/24 area 1
FTOS(conf-router_ospf-1)#network 20.20.20.20/24 area 2
FTOS(conf-router_ospf-1)#
Assign Layer-3 interface
with IP Address and
no shutdown
Assign interface’s
IP Address to an Area