Vyatta NOS documentation

Learn how to install, configure, and operate Vyatta Network Operating System (Vyatta NOS), which helps to drive our virtual networking and physical platforms portfolio.

show ip ospf neighbor

Displays information about OSPF neighbors for an address or interface.

show ip ospf [ process pid ] neighbor [ interface | ipv4 | detail | address ipv4 ]

If no interfaces are specified, then information about all neighbors is displayed.

process pid
Specifies the PID of an IPv4 OSPF process.
interface
An interface for which to display neighbor information.
ipv4
An address for which to display neighbor information.
detail
Displays detailed neighbor information for all neighbors.
address ipv4
Displays neighbor information for the specified address.

Operational mode

Use this command to display information about OSPF neighbors for an address or interface.

The following example shows how to display information about OSPF neighbors for all neighbors.

vyatta@vyatta:~$ show ip ospf neighbor

OSPF process 0 VRF(default):
Neighbor 			  ID  Pri  State   Dead Time  Address   Interface
22.22.22.22   1   Full/Backup  00:00:07  193.1.1.2   dp0p192p1
3.3.3.3       1   Full/Backup  00:00:31  194.1.1.2   dp0p224p1