C613-50170-01 Rev B
Command Reference for x510 Series
1061
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
OSPF C
OMMANDS
SHOW
IP
OSPF
NEIGHBOR
show ip ospf neighbor
Overview
Use this command to display information on OSPF neighbors. Include the
ospf-id
parameter with this command to display information about specified instances.
For information on filtering and saving command output, see the
with AlliedWare Plus” Feature Overview and Configuration Guide
Syntax
show ip ospf [
<ospf-id>
] neighbor
<neighbor-ip-addr>
[detail]
show ip ospf [
<ospf-id>
] neighbor detail
[all]
show ip ospf [
<ospf-id>
] neighbor [all]
show ip ospf [
<ospf-id>
] neighbor interface <
ip-addr
>
Mode
User Exec and Privileged Exec
Examples
awplus#
show ip ospf neighbor detail
awplus#
show ip ospf neighbor 1.2.3.4
awplus#
show ip ospf neighbor interface 10.10.10.50 detail all
Output
Note that before a device enters OSPF Graceful Restart it first informs its OSPF
neighbors. In the
show
output, the
*
symbol beside the
Dead Time
parameter
indicates that the device has been notified of a neighbor entering the graceful
restart state, as shown in the figures below.
Figure 27-18: Example output from the
show ip ospf neighbor
command
Parameter
Description
<ospf-id>
<0-65535> The ID of the router process for which
information will be displayed.
<neighbor-ip-addr>
The Neighbor ID, entered as an IP address.
all
Include downstatus neighbor.
detail
Detail of all neighbors.
<ip-addr>
IP address of the interface.
OSPF process 1:
Neighbor ID Pri State Dead Time Address Interface
10.10.10.50 1 Full/DR 00:00:38 10.10.10.50 vlan1
OSPF process 100:
Neighbor ID Pri State Dead Time Address Interface
10.10.11.50 1 Full/Backup 00:00:31 10.10.11.50 vlan2
awplus#show ip ospf 1 neighbor
OSPF process 1:
Neighbor ID Pri State Dead Time Address Interface
10.10.10.50 1 Full/DR 00:00:38* 10.10.10.50 vlan1