Instruction Manual

IP Routing Features
Configuring OSPF
Displaying OSPF Neighbor Information
To display OSPF information for all neighbors, enter show ip ospf neighbor at
any CLI level:
OSPF Neighbor Information
Router ID Pri IP Address NbIfState State Rxmt QLen Events
--------------- --- --------------- --------- -------- --------- ----------
10.0.8.34 1 10.3.18.34 DR FULL 0 6
10.3.53.38 1 10.3.53.38 DR FULL 0 6
Figure 5-47. Example of Show IP OSPF Neighbor Output
Syntax: show ip ospf neighbor [ ip-addr ]
The [ ip-addr ] can be specified to retrieve detailed information for the specific
neighbor only. This is the IP address of the neighbor, not the router ID.
This display shows the following information.
Table 5-17. CLI Display of OSPF Neighbor Information
Field
Router ID
Pri
IP Address
NbIfState
Description
The router ID of the neighbor.
The OSPF priority of the neighbor. The priority is used during election of the Designated Router
(DR) and Backup designated Router (BDR).
The IP address of this routing switch’s interface with the neighbor.
The neighbor interface state. The possible values are:
DR – this neighbor is the elected designated router for the interface.
BDR – this neighbor is the elected backup designated router for the interface.
blank – this neighbor is neither the DR or the BDR for the interface.
5-111