Chapter 50
| IP Routing Commands
Open Shortest Path First (OSPFv2)
– 1041 –
show ip ospf neighbor This command displays information about neighboring routers on each interface
within an OSPF area.
Syntax
show ip ospf [process-id] neighbor
process-id - The ID of the router process for which information will be
displayed. (Range: 1-65535)
Command Mode
Privileged Exec
Example
Console#show ip ospf neighbor
ID Pri State Address Interface
--------------- ------ ---------------- --------------- --------------
192.168.0.3 1 FULL/BDR 192.168.0.3 VLAN1
Console#
Table 14: show ip ospf neighbor - display description
Field Description
Neighbor ID Neighbor’s router ID
Pri Neighbor’s router priority
State OSPF state and identification flag
States include:
Down – Connection down
Attempt – Connection down, but attempting contact (for non-broadcast networks)
Init – Have received Hello packet, but communications not yet established
Two-way – Bidirectional communications established
ExStart – Initializing adjacency between neighbors
Exchange – Database descriptions being exchanged
Loading – LSA databases being exchanged
Full – Neighboring routers now fully adjacent
Identification flags include:
D – Dynamic neighbor
S – Static neighbor
DR – Designated router
BDR – Backup designated router
Address IP address of this interface
Interface The interface to which this neighbor is attached