Reference Guide
Open Shortest Path First (OSPFv2 and OSPFv3) | 629
Configuration Task List for OSPFv2 (OSPF for IPv4)
Open Shortest Path First version 2 (OSPF for IPv4) is supported on platforms:
c e s z
1. Configure a physical interface. Assign an IP address, physical or loopback, to the interface to enable
Layer 3 routing.
2. Enable OSPF globally. Assign network area and neighbors.
3. Add interfaces or configure other attributes.
The following configuration steps include two mandatory steps and several optional ones:
• Enable OSPFv2 (mandatory)
• Enable Multi-Process OSPF (OSPFv2, IPv4 only)
• Assign an OSPFv2 area (mandatory)
• Enable OSPFv2 on interfaces
• Configure stub areas
• Configure OSPF Stub-Router Advertisement
• Enable passive interfaces
• Enable fast-convergence
• Change OSPFv2 parameters on interfaces
• Enable OSPFv2 authentication
• Enable OSPFv2 graceful restart
• Redistribute routes
• Troubleshooting OSPFv2
For a complete listing of all OSPF commands, refer to the OSPF section in the FTOS Command Line
Interface Guide.
Enable OSPFv2
Assign an IP address to an interface (physical or Loopback) to enable Layer 3 routing. By default OSPF,
like all routing protocols, is disabled.
You must configure at least one interface for Layer 3 before enabling OSPFv2 globally.
If implementing Multi-Process OSPF, you must create an equal number of Layer 3 enabled interfaces and
OSPF Process IDs. For example, if you create four OSPFv2 process IDs, you must have four interfaces
with Layer 3 enabled.