Wednesday 18 November 2015

Ten commands for troubleshooting OSPF

1. show ip protocols: It displays OSPF status, process-id and neighbors/gateways. It also shows area types configured (normal, stub, NSSA etc.). Lastly, it lists protocols that are being redistributed and networks that are being advertised.
Helpful in troubleshooting: Neighbor relationships, missing routes, and problems with summarization and filtering.
2. show ip route ospf: Displays OSPF routes that are being received from neighbors and their administrative distances. It also shows the cumulative cost metric to reach a particular subnet and what the route source and interface is.
Helpful in troubleshooting: General issues, missing routes, and problems with summarization and filtering.
3show ip ospf interfaces: Displays OSPF interfaces. It also shows type(s) of network, neighbor count, type of authentication and timer values.
Helpful in troubleshooting: Neighbor relationships, local configuration issues, and routing problems.
4. show ip ospf neighbors: Displays active fully adjacent neighbors, router ID of neighbors, neighbor state/DR state, IP addresses/interfaces and dead time of neighbors.
Helpful in troubleshooting: Neighbor relationships and local configuration issues.
5. show ip ospf database: Displays LSA types per area, advertising router, Link ID (subnet) and age.
Helpful in troubleshooting: Missing routes, filtering problems and general issues.
6. show ip ospf border-routers: Displays router ID, advertising router, area, ABR or ASBR, and cost details.
Helpful in troubleshooting: Missing routes, filtering problems and general issues.
7. show ip ospf: Displays OSPF process ID, configured areas, number or types of areas, It also shows the number of times the SPF algorithm is executed. If you see a very high number of SPF calculations, it could be a flapping router or an interface with an issue.
Helpful in troubleshooting: Missing routes, filtering problems, and general issues.
Following debug commands can also help in troubleshooting many issues:
1. debug ip ospf adjacency: It is used to debug neighbor adjacencies.
Helpful in troubleshooting: Neighbor relationships, routing update issues and stub router problems.
2. debug ip ospf events: It is used to debug network events.
Helpful in troubleshooting: Routing update issues, convergence issues and interface flapping.
3. debug ip spf hello: It is used to debug neighbor adjacencies.
Helpful in troubleshooting: Neighbor relationships, configuration issues and DR/BDR election problems.


SOURCE.

No comments:

Post a Comment