show ip ospf neighbor

Displays OSPF neighbor information.

Syntax

show ip ospf neighbor [ extensive ] [ ethernet slot/port | port-channel number | router-id A.B.C.D | ve vlan_id ] [ vrf vrf-name ]
show ip ospf neighbor [ vrf vrf-name ]

Parameters

extensive
Displays detailed neighbor information.
ethernet slot/port
Specifies an Ethernet slot and port.
port-channel number
Specifies a port-channel.
router-id A.B.C.D
Displays neighbor information for the specified router ID (in dotted decimal format).
ve vlan_id
Specifies a virtual Ethernet (VE) interface. Valid values range from 1 through 4096.
vrf vrf-name
Specifies the name of the VRF instance. If this option is not used, details for the default VRF instance are shown in the output.

Modes

Privileged EXEC mode

Usage Guidelines

Examples

The following example displays information about OSPF neighbors.

device# show ip ospf neighbor

Number of Neighbors is 1, in FULL state 1

Port           Address         Pri State      Neigh Address   Neigh ID        Ev      Opt Cnt
Eth 1/2        53.1.1.36       1   FULL/DR    53.1.1.1        200.1.2.3       6       66  0