Refer to Figure 1 for the OSPFv3 reference topology.
Troubleshooting OSPFv3 is almost identical to OSPFv2; therefore, many OSPFv3 commands and troubleshooting criteria also apply to OSPFv3.
For example, the following are the equivalent commands used with OSPFv3:
- show ipv6 protocols (Figure 2) - This command is used to verify vital OSPFv3 configuration information, including the OSPFv3 process ID, the router ID, networks the router is advertising, and the neighbors the router is receiving updates from.
- show ipv6 ospf neighbor (Figure 3) - Used to verify that the router has formed an adjacency with its neighboring routers. This output displays the neighbor router ID, the neighbor priority, OSPFv3 state, dead timer, neighbor interface ID, and the interface that the neighbor is accessible through. If the router ID of the neighboring router is not displayed, or if it does not show as a state of FULL or 2WAY, the two routers have not formed an OSPFv3 adjacency. If two routers do not establish adjacency, link-state information will not be exchanged. Incomplete link-state databases can cause inaccurate SPF trees and routing tables. Routes to destination networks may not exist, or they may not be the most optimum paths.
- show ipv6 ospf interface (Figure 4) - Used to display the OSPFv3 parameters configured on an interface, such as the OSPFv3 process ID that the interface is assigned to, area that the interfaces are in, and cost of the interface, and the Hello and Dead intervals. Adding the interface name and number to the command displays output for a specific interface.
- show ipv6 ospf (Figure 5) - Used to examine the OSPF process ID and router ID, as well as information about the LSA transmissions.
- show ipv6 route ospf (Figure 6) - Used to display only the OSPFv3 learned routes in the routing table. The output shows that R1 has learned about four remote networks through OSPFv3.
- clear ipv6 ospf [ process-id ] process - Used to reset the OSPFv3 neighbor adjacencies.