Administrator Guide

Layer 3 Routing Commands 1787
1080 1139 94
1140 1199 115
1200 1259 110
1260 1319 111
show ip ospf neighbor
Use the show ip ospf neighbor command in Privileged EXEC mode to display
locally derived information about OSPF neighbors. The information below
only displays if OSPF is enabled and the interface has a neighbor.
Syntax
show ip ospf neighbor [vrf
vrf-name
] [
interface-type interface-number
]
[
neighbor-id
]
vrf-name
—The name of the VRF instance on which the command
operates. If no VRF parameter is given, information for the default
(global) router instance is shown.
interface-type
—Interface type – only supported type is vlan.
interface-number
—A valid interface number.
neighbor-id
—Valid IP address of the neighbor.
Default Configuration
This command has no default configuration.
Command Mode
User EXEC, Privileged EXEC modes, Configuration mode and all
Configuration submodes
User Guidelines
The VRF identified in the parameter must have been previously created or an
error is returned.
The VRF parameter is only available on the N3000/N4000 series switches.
The following information is output.
2CSNXXX_SWUM204.book Page 1787 Monday, January 25, 2016 1:25 PM