OSPFv3 routing protocol is more complicated then OSPFv2 routing protocols, So to verify OSPFv3 and troubleshooting is not an easy task. There are several commands we can use to verify and troubleshoot an OSPF configuration and operation:-
Verify OSPFv3 Neighbors
We can use “show ipv6 ospf neighbor” command to verify that the router adjacency with its neighboring routers. If the router ID of the neighboring router not listed, or if the state of FULL not showing, the two routers have not formed an OSPFv3 adjacency. So, if the two routers adjacency not established, link-state information is not exchanged and Incomplete LSDBs can affect SPF trees and routing tables. Routes to destination networks may not found. The output parameters of this command as shown below:-
- Neighbor ID– The unique ID of the neighboring router.
- Pri– The OSPF priority of the interface. This value is used in the DR and BDR election.
- State– This is OSPF state of the interfaces. FULL state means that the router and its neighbor have identical OSPF LSDBs. The dash indicates that no DR or BDR is required because of the network type. On multi-access networks, such as Ethernet, two routers that are adjacent may have their states displayed as 2WAY. The DR show the adjacent router connected to this interface is DR.
- Dead Time– The remaining time to receive an OSPF Hello packet from the neighbor before declaring the neighbor down. The value has rested when the interface received a Hello packet..
- Interface ID– The interface ID or the link ID.
- Interface– The interface on which this router has formed neighbor adjacency.
Verify OSPFv3 Protocol Settings
We can verify the OSPF protocol settings using the “show ipv6 protocols” to verify important OSPF configuration information. The command display the OSPF process ID, the router ID, and the enabled interface for OSPFv3The figure-2 Illustrates the output of the “show ipv6 protocols” command. Use the command on other routers to verify the above information.
Verify OSPFv3 Interfaces
We can easily verify the OSPF interface settings using “show ipv6 ospf interface” command. This command provides a detailed list for every OSPF-enabled interface. We can also display the summary of the interfaces using the command “ show ipv6 ospf interface brief”.
Verify the IPv6 Routing Table
We can also check and verify the routing table for IPv6 using the command “show ipv6 route ospf”. The command output provides specifics about OSPF routes in the routing table.