Use the show ipv6 ospf neighbor command to verify that the router has formed an adjacency with its neighboring routers. If the router ID of the neighboring router is not displayed, or if it does not show as being in a state of FULL, the two routers have not formed an OSPF adjacency.
If two routers do not establish a neighbor adjacency, link-state information is not exchanged. Incomplete LSDBs can cause inaccurate SPF trees and routing tables. Routes to destination networks may not exist or may not be the most optimum path.
Figure 1 displays the neighbor adjacency of R1. For each neighbor, this command displays the following output:
- Neighbor ID - The router ID of the neighboring router.
- Pri - The OSPF priority of the interface. Value is used in the DR and BDR election.
- State - The OSPF state of the interface. FULL state means that the router and its neighbor have identical OSPF LSDBs. On multiaccess networks such as Ethernet, two routers that are adjacent may have their states displayed as 2WAY. The dash indicates that no DR or BDR is required because of the network type.
- Dead Time - The amount of time remaining that the router waits to receive an OSPF Hello packet from the neighbor before declaring the neighbor down. This value is reset when the interface receives a Hello packet.
- Interface ID - The interface ID or link ID.
- Interface - The interface on which this router has formed adjacency with the neighbor.
Use the Syntax Checker in Figure 2 to verify the R2 and R3 neighbors using the show ipv6 ospf neighbor command.