Professional Documents
Culture Documents
12.OSPF Troubleshooting
12.OSPF Troubleshooting
12.OSPF Troubleshooting
In This Lesson:
Troubleshooting Model Common Issues and Resolution Steps Relevant Debug and Show Commands Dealing with Cisco TAC
Troubleshooting Model
1. 2. 3. 4. 5. 6. 7. 8. Define the Problem Gather the Facts Document the Facts Consider the Possibilities Create an Action Plan Implement the Action Plan Repeat Until Resolution Document the Solution
Troubleshooting Model
Problem Resolution Methodology
OSPF Area 0
OSPF Area 79
R9
VLAN 79
?
706
607
608
806
708
807
R7
Backbone
VLAN 910
R10
Neighbor Relationship Problems Neighbor Not Establishing Relationship Possible Cause: Desired interfaces configured as passive Alternatively execute the show ip protocols and look for PassiveInterface(s) entry Delete the passive-interface command R8 Possible Cause: Misconfigured neighbor authentication Execute the show ip ospf interface command to if authentication is in use
OSPF Area 0
OSPF Area 79
R9
VLAN 79
?
706
607
608
806
708
807
R7
Backbone
VLAN 910
R10
Neighbor Relationship Problems Neighbor Not Establishing Relationship Possible Cause: Misconfigured neighbor authentication Execute the show runningconfig command to verify that both the ip ospf [key | message-digest-key] and ip ospf authentication [messageR8 digest] command are correct and in place and that keys match Add either or both statements with correct syntax if missing
OSPF Area 0
OSPF Area 79
R9
VLAN 79
?
706
607
608
806
708
807
R7
Backbone
Neighbor Relationship Problems Neighbor Not Establishing Relationship Possible Cause: Misconfigured MTU values on neighbor interfaces Execute the show interface command and note the MTU output on all/both neighbors Enter interface configuration mode and equalize the MTU setting R8 using the ip mtu <bytes> command and/or set to defaults
VLAN 910
R10
OSPF Area 0
OSPF Area 79
R9
VLAN 79
?
706
607
608
806
708
807
R7
Backbone
VLAN 910
R10
Neighbor Relationship Problems Neighbor Not Establishing Relationship Possible Cause: Primary subnets not matching Execute the show ip interface <slot/port> command to verify the primary IP address configured on the interfaces of affected devices R8 Change IP addressing if primary subnets are not on the same network/subnet
OSPF Area 0
OSPF Area 79
R9
VLAN 79
?
706
607
608
806
708
807
R7
Backbone
VLAN 910
R10
Neighbor Relationship Problems Neighbor Not Establishing Relationship Possible Cause: Multicast traffic being blocked between devices Execute the show ip interface and show access-list command to discover if any filtering is being done on the affected interfaces Add statements permitting R8 224.0.0.5/6 is necessary Execute show interface to determine if interface is up/up Replace cable or replace interface/device to resolve
OSPF Area 0
OSPF Area 79
R9
VLAN 79
?
706
607
608
806
708
807
R7
Backbone
VLAN 910
R10
Neighbor Relationship Problems Neighbor Not Establishing Relationship Possible Cause: Network statement misconfigured under OSPF Execute the show ip OSPF interface to discover if OSPF has correctly identified the interfaces Execute the show runningconfig to verify that the network R8 statements are correctly configured in OSPF Delete and recreate the network statements with the correct subnet and mask combinations
OSPF Area 0
OSPF Area 79
R9
VLAN 79
?
706
607
608
806
708
807
R7
Backbone
VLAN 910
R10
Neighbor Relationship Problems Possible Cause: Non-Broadcast Network Execute the show ip ospf interface to discover and note if the network type under the Network Type entry is identified as NON_BROADCAST Execute the show running-config command and verify if the neighbor <ip address> command is present R8 If the statement is missing, add the static neighbor <ip address> command on the DR/BDR routers
OSPF Area 0
OSPF Area 79
R9
VLAN 79
?
706
607
608
806
708
807
R7
Backbone
VLAN 910
R10
Neighbor Relationship Problems Possible Cause: Priority 0 configured Execute the show ip ospf neighbor to verify the configured priority of the neighbor (1 is default) If all neighbors are showing priority of 0, manually change the priority of the desired DR/BDR Possible Cause: Mismatched timers R8 Execute the show ip ospf interface and note the values of the Timer Intervals entry (Hello XX, Dead XX) Change values if they do not match
OSPF Area 0
OSPF Area 79
R9
VLAN 79
?
706
607
608
806
708
807
R7
Backbone
VLAN 910
R10
Routes Missing from Table Possible Cause: Network statement misconfigured under OSPF Execute the show ip OSPF interface to discover if OSPF has correctly identified the interfaces Execute the show running-config to verify that the network statements are correctly configured in R8 OSPF Delete and recreate the network statements with the correct subnet and mask combinations
OSPF Area 0
OSPF Area 79
R9
VLAN 79
?
706
607
608
806
708
807
R7
Backbone
VLAN 910
R10
Routes Missing from Table Possible Cause: Default route misconfigured Execute the show ip route to discover if a static route to 0.0.0.0 exists Execute the show running-config to verify that the redistribute static and default-information originate R8 statements are correctly configured in OSPF Add the statements if they are missing from the configuration
OSPF Area 0
OSPF Area 79
R9
VLAN 79
?
706
607
608
806
708
807
R7
Backbone
VLAN 910
R10
Address Summarization Problems Possible Cause: No subnets in the routing table in the range of the summary address Execute the show ip route command to see if any networks within the range currently exist Execute the show running-config to verify that the ip area-range R8 and/or summary-address statement is correctly configured Delete and recreate the summary statement with corrections and/or find the cause of the missing route
OSPF Area 0
OSPF Area 79
R9
VLAN 79
?
706
607
608
806
708
807
R7
Backbone
VLAN 910
R10
Address Summarization Problems Possible Cause: Routers reside in a Stub/NSSA area Execute the show ip route command to see if any networks within the range currently exist Execute the ip ospf statement and look for the statement It is a stub area R8 This is normal behavior for stub areas (i.e., to suppress summary routes) Either change the area type or verify reachability of the area range or summary address
OSPF Area 0
OSPF Area 79
R9
VLAN 79
?
706
607
608
806
708
807
R7
Backbone
VLAN 910
R10
OSPF Show Commands show ip protocols Data displayed by the command OSPF status and process-id Area types configured Protocols being redistributed Networks being advertised Neighbors/gateways R8 Helpful in troubleshooting: Neighbor relationships Missing routes Summarization issues Filtering problems
OSPF Area 0
OSPF Area 79
R9
VLAN 79
?
706
607
608
806
708
807
R7
Backbone
VLAN 910
R10
OSPF Show Commands show ip route ospf Data displayed by the command OSPF routes from neighbors Administrative distance Cumulative cost metric Route source/interface Helpful in troubleshooting: R8 Missing routes Summarization issues Filtering problems General troubleshooting
OSPF Area 0
OSPF Area 79
R9
VLAN 79
?
706
607
608
806
708
807
R7
Backbone
VLAN 910
R10
OSPF Show Commands show ip ospf interfaces Data displayed by the command Interfaces participating in OSPF Network type(s) Neighbor count Authentication type Timer values R8 Helpful in troubleshooting: Neighbor relationships Local configuration issues Routing problems
OSPF Area 0
OSPF Area 79
R9
VLAN 79
?
706
607
608
806
708
807
R7
Backbone
VLAN 910
R10
OSPF Show Commands show ip eigrp neighbors Data displayed by the command Active fully adjacent neighbors Router ID of neighbors IP address/interface of neighbors Dead time of neighbors Neighbor state/DR state R8 Helpful in troubleshooting: Neighbor relationships Local configuration issues
OSPF Area 0
OSPF Area 79
R9
VLAN 79
?
706
607
608
806
708
807
R7
Backbone
VLAN 910
R10
OSPF Show Commands show ip ospf database Data displayed by the command LSA types per area Advertising router Link ID (subnet) Age Helpful in troubleshooting: R8 Missing routes Filtering problems General troubleshooting
OSPF Area 0
OSPF Area 79
R9
VLAN 79
?
706
607
608
806
708
807
R7
Backbone
VLAN 910
R10
OSPF Show Commands show ip ospf border-routers Data displayed by the command Router ID Advertising router Area Whether an ABR or ASBR Cost to reach R8 Helpful in troubleshooting: Missing routes Filtering problems General troubleshooting
OSPF Area 0
OSPF Area 79
R9
VLAN 79
?
706
607
608
806
708
807
R7
Backbone
VLAN 910
R10
OSPF Show Commands show ip ospf Data displayed by the command OSPF process ID Configured areas Number/types of areas/ranges Configured area authentication Times SPF algorithm executed R8 Interfaces per area on router Helpful in troubleshooting: Missing routes Filtering problems General troubleshooting
OSPF Area 0
OSPF Area 79
R9
VLAN 79
?
706
607
608
806
708
807
R7
Backbone
VLAN 910
R10
OSPF Debug Commands debug ip ospf adjacency Debugging neighbor adjacencies Helpful in troubleshooting: Neighbor relationships Routing update issues Stub router problems debug ip ospf events R8 Debugging network events Helpful in troubleshooting: Routing update issues Convergence issues Interface flapping
OSPF Area 0
OSPF Area 79
R9
VLAN 79
?
706
607
608
806
708
807
EIGRP Debug Commands debug ip spf hello Debugging neighbor adjacencies Helpful in troubleshooting: Neighbor relationships Configuration issues DR/BDR election problems
R8
R7
Backbone
VLAN 910
R10
What We Covered
Troubleshooting Model Common Issues and Resolution Steps Relevant Debug and Show Commands Dealing with Cisco TAC