OSPF Commands 775
show ip ospf neighbor
Use the show ip ospf neighbor command in Privileged EXEC mode to display information 
about OSPF neighbors. The information below only displays if OSPF is enabled and the 
interface has a neighbor.
Syntax
show ip ospf neighbor [interface vlan 
vlan-id
] [
ip-address
]
•
vlan-id
 — Valid VLAN ID.
•
ip-address
 — Valid IP address of the neighbor.
Default Configuration
This command has no default configuration.
Command Mode
Privileged EXEC mode.
User Guidelines
This command has no user guidelines.
Example
The following examples display information about OSPF neighbors on the specified Ethernet 
and IP interfaces.
console#show ipv6 ospf neighbor interface tunnel 1
Router ID Priority Intf Interface State Dead
ID Time
------------- -------- ----- ----------- ---------------- ----
4.1.0.0 0 13 tunnel 1 Full/DR-OTHER 30