API Guide

Are the OSPF routes included in the routing table in addition to the OSPF database?
Are you able to ping the IPv4 address of adjacent router interface?
Troubleshooting OSPF with show commands
View a summary of all OSPF process IDs enabled in EXEC mode.
show running-configuration ospf
View summary information of IP routes in EXEC mode.
show ip route summary
View summary information for the OSPF database in EXEC mode.
show ip ospf database
View the configuration of OSPF neighbors connected to the local router in EXEC mode.
show ip ospf neighbor
View routes that OSPF calculates in EXEC mode.
show ip ospf routes
View OSPF configuration
OS10# show running-configuration ospf
!
interface ethernet1/1/1
ip ospf 100 area 0.0.0.0
!
router ospf 100
log-adjacency-changes
Debug OSPF
Use the following procedures to debug OSPFv2 and OSPFv3.
To debug OSPFv2:
debug ip ospfv2
To debug OSPFv3:
debug ip ospfv3
OSPFv2 commands
area default-cost
Sets the metric for the summary default route generated by the ABR and sends it to the stub area.
Syntax
area area-id default-cost cost
Parameters
area-id Enter the OSPF area in dotted decimal A.B.C.D format or enter a number, from 0 to
65535.
cost Enter a cost for the stub areas advertised external route metric, from 0 to 65535.
Default Cost is 1
Command Mode ROUTER-OSPF
698 Layer 3