DGS-6604
m
show ip ospf neighbor
show ip ospf neighbor [ IFNAME | NEIGHBOR-ID] [detail]
Syntax Description
IFNAME
NEIGHBOR-ID
detail
Default
Command Mode
Usage Guideline
Example
Switch#show ip ospf neighbor
Neighbor ID
Interface
47.65.49.111
Total Entries: 1
Switch#
Switch#
Switch#show ip ospf neighbor detail
Neighbor 47.65.49.111, interface address 47.65.49.111
In the area 0.0.0.0 via interface vlan49
Neighbor priority is 2, State is Full, 6 state changes
DR is 47.65.49.111, BDR is 47.65.49.1
Options is 0x02 (*|-|-|-|-|-|E|-)
Dead timer due in 0DT0H1M13S
Neighbor is up for 0DT0H13M51S
Crypt Sequence Number is 0
Total Entries: 1
Switch#
CLI Reference Guide
Use this command to display information about the OSPF neighbors.
(Optional) Specifies the type of the interface to display the neighbor information
for.
(Optional) Neighbor ID.
(Optional) Detail of neighbors.
None
User EXEC
Displays information about the OSPF neighbors. If no interface type/number is
specified the OSPF neighbor information for all interfaces will be displayed.
The following is sample output from the show ip ospf neighbor.
Pri
State
2
Full/DR
Dead Time
0DT0H1M11S
47.65.49.111
show ip ospf neighbor
Address
vlan49
657