1272 OSPF Commands
OSPF Interface Events.................................... 1
Virtual Events........................................... 0
Neighbor Events.......................................... 0
External LSA Count....................................... 0
show ip ospf neighbor
Use the show ip ospf neighbor command in Privileged EXEC mode to display
information about OSPF neighbors. The information below only displays if
OSPF is enabled and the interface has a neighbor.
Syntax
show ip ospf neighbor [interface-type interface-number] [neighbor-id]
Syntax Description
Default Configuration
This command has no default configuration.
Command Mode
User EXEC, Privileged EXEC modes, Config mode and all Config sub-modes
User Guidelines
This command has no user guidelines.
Example
The following examples display information about OSPF neighbors on the
specified Ethernet and IP interfaces.
console#show ip ospf neighbor 3.3.3.3
Parameter Description
interface-type Interface type – only supported type is vlan.
interface-number A valid interface number.
neighbor-id Valid IP address of the neighbor.
2CSPC4.X8100-SWUM102.book Page 1272 Friday, March 15, 2013 8:56 AM