This command displays information about OSPF neighbors. If you do not specify a neighbor IP address, the output displays summary information in a table. If you specify an interface or tunnel, only the information for that interface or tunnel displays. The argument unit/slot/port corresponds to a physical routing interface or VLAN routing interface. The keyword vlan is used to specify the VLAN ID of the routing VLAN directly instead of a unit/slot/port format. The ip-address is the IP address of the neighbor, and when you specify this, detailed information about the neighbor displays. The information below only displays if OSPF is enabled and the interface has a neighbor.
| Format | show ipv6 ospf neighbor [interface {unit/slot/port|vlan 1-4093|tunnel tunnel_id}][ip-address] |
| Mode |
|
If you do not specify an IP address, a table with the following columns displays for all neighbors or the neighbor associated with the interface that you specify:
| Term | Definition |
|---|---|
| Router ID | The 4-digit dotted-decimal number of the neighbor router. |
| Priority | The OSPF priority for the specified interface. The priority of an interface is a priority integer from 0 to 255. A value of '0' indicates that the router is not eligible to become the designated router on this network. |
| Intf ID | The interface ID of the neighbor. |
| Interface | The interface of the local router in unit/slot/port format. |
| State | The state of the neighboring routers. Possible values are:
|
| Dead Time | The amount of time, in seconds, to wait before the router assumes the neighbor is unreachable. |
| Restart Helper Status | Indicates the status of this router as a helper during a graceful restart of the router specified in the command
line:
|
| Restart Reason | When this router is in helpful neighbor mode, this indicates the reason for the restart as provided by the restarting router. |
| Remaining Grace Time | The number of seconds remaining the in current graceful restart interval. This is displayed only when this router is currently acting as a helpful neighbor for the router specified in the command. |
| Restart Helper Exit Reason | Indicates the reason that the specified router last exited a graceful restart.
|
If you specify an IP address for the neighbor router, the following fields display:
| Term | Definition |
|---|---|
| Interface | The interface of the local router in unit/slot/port format. |
| Area ID | The area ID associated with the interface. |
| Options | An integer value that indicates the optional OSPF capabilities supported by the neighbor. These are listed in its Hello packets. This enables received Hello Packets to be rejected (i.e., neighbor relationships will not even start to form) if there is a mismatch in certain crucial OSPF capabilities. |
| Router Priority | The router priority for the specified interface. |
| Dead Timer Due | The amount of time, in seconds, to wait before the router assumes the neighbor is unreachable. |
| State | The state of the neighboring routers. |
| Events | Number of times this neighbor relationship has changed state, or an error has occurred. |
| Retransmission Queue Length | An integer representing the current length of the retransmission queue of the specified neighbor router Id of the specified interface. |