Users Guide
ip ospf 100 area 0.0.0.0
ip ospf message-digest-key 2 md5 sample12345
Troubleshoot OSPFv2
You can troubleshoot OSPFv2 operations, and check questions for typical issues that interrupt a process.
● Is OSPF enabled globally?
● 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
Debug OSPF
Use the following procedures to debug OSPFv2 and OSPFv3.
● To debug OSPFv2:
debug ip ospfv2
● To debug OSPFv3:
debug ip ospfv3
Layer 3
939