Open Shortest Path First (OSPFv2) | 425
show ip ospf neighbor
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 21-15. show ip ospf process-id neighbor Command Example
show ip ospf routes
Display routes as calculated by OSPF and stored in OSPF RIB.
Syntax
show ip ospf process-id routes
Parameters
Defaults
none
Command Modes
EXEC
EXEC Privilege
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.16.1 Introduced on MXL 10/40GbE Switch IO Module
Table 21-11. show ip ospf process-id neighbor Command Description
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).
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 TenGig 0/0 0.0.0.2
192.10.10.2 1 FULL/DR 00:00:37 192.10.10.2 TenGig 0/1 0.0.0.1
20.20.20.1 1 FULL/DROTHER00:00:36 192.10.10.4 TenGig 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.