Related commands
ip ospf
authentication,
hello-interval,
ip ospf
ospf
router-id,
router
protocols
show ip ospf neighbor
Use the show ip ospf neighbor command to display OSPF neighbor information for a
specific interface or for all interfaces.
Syntax
show ip ospf neighbor [interface_name] [neighbor_id]
Parameters
Parameter
interface_name
neighbor_id
Note:
To specify an interface name that includes spaces, enclose the entire name in
Note:
quotation marks (for example, "New York").
User level
read-only
Context
general
Example
To display neighbor information for all interfaces:
G350-001(super)# show ip ospf neighbor
Nbr-Id
--------------- ---------- ---------- --------------- -------------
10.0.17.2
ip ospf
authentication-key,
message-digest-key,
ospf,
show ip
ospf,
show ip ospf
Description
The OSPF interface name
The OSPF neighbor ID number
Priority
State
1
2 Way
Alphabetical listing of CLI commands
ip ospf
cost,
ip ospf
ip ospf network
point-to-multipoint,
database,
show ip ospf
Router ID
212.150.244.1
dead-interval,
ip ospf
ip ospf
priority,
neighbor,
show ip
Possible
Default
Values
Value
string
an IP
address
Time To Live
36
Issue 1.1 June 2005
ip
609