Open Shortest Path First (OSPFv2 and OSPFv3) | 705
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
• 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
• Configure virtual links
• Redistribute routes
• Troubleshooting OSPFv2
For a complete listing of all commands related to OSPFv2, refer to the OSPF section in the FTOS
Command Line Interface document.
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 4 OSPFv2 process IDs, you must have 4 interfaces with
Layer 3 enabled.
Use these commands on one of the interfaces to enable OSPFv2 routing.
Step Command Syntax Command Mode Usage
1 ip address ip-address mask CONFIG-INTERFACE Assign an IP address to an interface.
Format: A.B.C.D/M
If using a Loopback interface, refer to Loopback Interfaces on
page 427.
2
no shutdown
CONFIG-INTERFACE Enable the interface.