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