Command Line Reference Guide
Open Shortest Path First (OSPFv2 and OSPFv3) | 751
show ip ospf neighbor
c e s
Display the OSPF neighbors connected to the local router.
Syntax
show ip ospf process-id neighbor
Parameters
Command Modes
EXEC Privilege
Command
History
Example
Figure 26-15. Command Example: show ip ospf process-id neighbor
show ip ospf routes
c e s
Display routes as calculated by OSPF and stored in OSPF RIB.
Syntax
show ip ospf process-id routes
Parameters
Defaults
No default values or behavior
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 8.3.5.0 Introduced on S55
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 26-11. 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 neighbor’s area (process ID).
Force10#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
Force10#
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.










