Reference Guide

Table Of Contents
Is OSPF enabled on the interface?
Are adjacencies established correctly?
Are the interfaces configured for L3 correctly?
Is the router in the correct area type?
Are the OSPF routes included in the OSPF database?
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
OSPFv2 commands
area default-cost
Sets the metric for the summary default route generated by the ABR and sends it to the stub area. Use the area default-
cost command on the border routers at the edge of a stub area.
Syntax
area area-id default-cost cost
Parameters
area-id Enter the OSPF area in dotted decimal format (A.B.C.D.) or enter a number (0 to
65535).
cost Enter a cost for the stub areas advertised external route metric (0 to 65535).
Default Cost is 1
Command Mode ROUTER-OSPF
Usage
Information
The cost is also referred as reference-bandwidth or bandwidth. The no version of this command resets
the value to the default.
Example
OS10(conf-router-ospf-10)# area 10.10.1.5 default-cost 10
Supported
Releases
10.2.0E or later
392 Layer 3