In Cisco router, OSPF neighbor list can be displayed using command "show ospf neighbor". Neighbor ID, State, Dead Time, Address and interface details will be part of the output.
Sun Apr 05 10:48:13.035 EST
* Indicates MADJ interface
Neighbors for OSPF London-DC
Neighbor ID Pri State Dead Time Address Interface
10.200.1.17 1 FULL/ - 00:00:37 10.200.64.24 Ether5
Neighbor is up for 2y14w
10.200.45.215 1 FULL/ - 00:00:35 10.200.75.8 Ether14
Neighbor is up for 12w5d
10.200.45.216 1 FULL/ - 00:00:34 10.200.75.9 Ether17
Neighbor is up for 12w5d
Total neighbor count: 3
RP/0/RSP0/CPU0:CiscoRouter#
Syntax:
show ospf neighborExample:
RP/0/RSP0/CPU0:CiscoRouter#show ospf neighborSun Apr 05 10:48:13.035 EST
* Indicates MADJ interface
Neighbors for OSPF London-DC
Neighbor ID Pri State Dead Time Address Interface
10.200.1.17 1 FULL/ - 00:00:37 10.200.64.24 Ether5
Neighbor is up for 2y14w
10.200.45.215 1 FULL/ - 00:00:35 10.200.75.8 Ether14
Neighbor is up for 12w5d
10.200.45.216 1 FULL/ - 00:00:34 10.200.75.9 Ether17
Neighbor is up for 12w5d
Total neighbor count: 3
RP/0/RSP0/CPU0:CiscoRouter#
Cisco - Router - View OSPF Neighbor List and Status
Reviewed by Admin
on
06:40:00
Rating: