Command Line Reference Guide

Open Shortest Path First (OSPFv2 and OSPFv3) | 1005
show ip ospf neighbor
c e s
Display the OSPF neighbors configured.
Syntax
show ip ospf process-id neighbor
Parameters
Command Modes
EXEC
EXEC Privilege
Command
History
Usage
Information
If you are using Multi-Process OSPF, you must enter the Process ID to view information regarding a
specific OSPF process. If you do not enter the Process ID, only the first configured process is listed.
Example FTOS#show ip ospf 34 neighbor
Neighbor ID Pri State Dead Time Address Interface Area
20.20.20.7 1 FULL/DR 00:00:32 182.10.10.3 Gi 0/0 0.0.0.2
192.10.10.2 1 FULL/DR 00:00:37 192.10.10.2 Gi 0/1 0.0.0.1
20.20.20.1 1 FULL/DROTHER00:00:36 192.10.10.4 Gi 0/1 0.0.0.1
FTOS#
process-id
Enter the OSPF Process ID to show a specific process.
If no Process ID is entered, command applies only to the first OSPF process.
Version 7.8.1.0 Introduced support of Multi-Process OSPF.
Version 7.6.1.0 Introduced on S-Series
Version 7.5.1.0 Introduced on C-Series
pre-Version 6.1.1.1 Introduced on E-Series
Table 40-106. Command Example Descriptions: show ip ospf process-id neighbor
Row Heading Description
Neighbor ID Displays the neighbor router ID.
Pri Displays the priority assigned neighbor.
State Displays the OSPF state of the neighbor.
Dead Time Displays the expected time until FTOS declares the neighbor dead.
Address Displays the IP address of the neighbor.
Interface Displays the interface type slot/port information.
Area Displays the neighbors area (process ID).