Specifications
CHAPTER
Send document comments to nexus3k-docfeedback@cisco.com.
3-1
Cisco Nexus 3000 Series NX-OS Unicast Routing Configuration Guide, Release 5.0(3)U2(2)
OL-25782-02
3
Configuring OSPFv2
This chapter describes how to configure Open Shortest Path First version 2 (OSPFv2) for IPv4 networks.
This chapter includes the following sections:
• Information About OSPFv2, page 3-1
• Licensing Requirements for OSPFv2, page 3-11
• Prerequisites for OSPFv2, page 3-12
• Default Settings, page 3-12
• Guidelines and Limitations, page 3-12
• Configuring Basic OSPFv2, page 3-13
• Configuring Advanced OSPFv2, page 3-22
• Verifying the OSPFv2 Configuration, page 3-41
• Displaying OSPFv2 Statistics, page 3-42
• Configuration Examples for OSPFv2, page 3-42
• Additional References, page 3-43
• Feature History for OSPFv2, page 3-43
Information About OSPFv2
OSPFv2 is an IETF link-state protocol (see the “Link-State Protocols” section on page 1-9) for IPv4
networks. An OSPFv2 router sends a special message, called a hello packet, out each OSPF-enabled
interface to discover other OSPFv2 neighbor routers. Once a neighbor is discovered, the two routers
compare information in the Hello packet to determine if the routers have compatible configurations. The
neighbor routers attempt to establish adjacency, which means that the routers synchronize their
link-state databases to ensure that they have identical OSPFv2 routing information. Adjacent routers
share link-state advertisements (LSAs) that include information about the operational state of each link,
the cost of the link, and any other neighbor information. The routers then flood these received LSAs out
every OSPF-enabled interface so that all OSPFv2 routers eventually have identical link-state databases.
When all OSPFv2 routers have identical link-state databases, the network is converged (see the
“Convergence” section on page 1-6). Each router then uses Dijkstra’s Shortest Path First (SPF)
algorithm to build its route table.
You can divide OSPFv2 networks into areas. Routers send most LSAs only within one area, which
reduces the CPU and memory requirements for an OSPF-enabled router.