483
Cisco Nexus 3548 Switch NX-OS Unicast Routing Command Reference
OL-27852-01
Chapter Unicast Routing Show Commands
show ip ospf neighbors
show ip ospf neighbors
To display Open Shortest Path First (OSPF)-neighbor information on a per-interface basis, use the show
ip ospf neighbors command.
show ip ospf [instance-tag] neighbors [{ethernet slot/port | loopback if_number | port-channel
number}] [neighbor-id] [detail] [summary] [vrf {vrf-name | all | default | management}]
Syntax Description
Command Default None
Command Modes Any command mode
Command History
Usage Guidelines Use the show ip ospf neighbors command to display information about all or some of the neighbors for
this OSPF instance.
This command requires the LAN Enterprise Services license.
instance-tag (Optional) Name of the OSPF instance. Specify as an alphanumeric string of
20 characters.
ethernet slot/port (Optional) Specifies the Ethernet interface and the slot number and port
number. The slot number is from 1 to 255, and the port number is from 1 to
128.
loopback if_number (Optional) Specifies the loopback interface. The loopback interface number is
from 0 to 1023.
port-channel number (Optional) Specifies the EtherChannel interface and EtherChannel number.
The range is from 1 to 4096.
neighbor-id (Optional) Router ID of the neighbor. Specify as an IP address.
detail (Optional) Displays all neighbors given in detail (lists all neighbors).
summary (Optional) Displays a summary of the neighbors.
vrf (Optional) Specifies a virtual routing and forwarding (VRF) instance.
vrf-name VRF name. The name can be a maximum of 32 alphanumeric characters and
is case sensitive.
all Specifies all VRF entries.
default Specifies the default VRF.
management Specifies the management VRF.
Release Modification
5.0(3)A1(1) This command was introduced.