Reference Guide
Open Shortest Path First (OSPFv2 and OSPFv3) | 687
Use the following command in EXEC Privilege mode to configure the debugging options of an OSPFv2
process:
Sample Configurations for OSPFv2
The following configurations are examples for enabling OSPFv2. These are not comprehensive directions.
They are intended to give you a some guidance with typical configurations.
You can copy and paste from these examples to your CLI. Be sure you make the necessary changes to
support your own IP Addresses, Interfaces, Names, etc.
Basic OSPFv2 Router Topology
The following illustration is a sample basic OSPFv2 topology.
Figure 35-4. Basic topology and CLI commands for OSPFv2
Command Syntax Command Mode Usage
debug ip ospf
process-id [event |
packet | spf]
EXEC Privilege View debug messages.
To view debug messages for a specific OSPF process ID, enter debug ip
ospf
process-id.
If you do not enter a process ID, the command applies to the first OSPF
process.
To view debug messages for a specific operation, enter one of the
optional keywords:
•
event: view OSPF event messages
• packet: view OSPF packet information.
• spf: view shortest path first (spf) information.
OSPF
A
R
E
A
0
GI 1/1
GI 1/2
GI 2/1
GI 2/2
GI 3/1 GI 3/2










