![](/images/new-backgrounds/1299835/299835641x1.webp)
6.3.1.6show ip ospf interface stats
This command displays the statistics for a specific interface.
Syntax
show ip ospf interface stats <slot/port>
<slot/port> - Interface number.
Default Setting
None
Command Mode
Privileged Exec, User Exec
Display Messages
OSPF Area ID The area id of this OSPF interface.
Spf Runs The number of times that the
Area Border Router Count The total number of area border routers reachable within this area. This is initially zero, and is calculated in each SPF pass.
AS Border Router Count The total number of Autonomous System border routers reachable within this area.
Area LSA Count The total number of
IP Address The IP address associated with this OSPF interface.
OSPF Interface Events The number of times the specified OSPF interface has changed its state, or an error has occurred.
Virtual Events The number of state changes or errors that occurred on this virtual link.
Neighbor Events The number of times this neighbor relationship has changed state, or an error has occurred.
External LSA Count The number of external (LS type 5)
LSAs Received The number of LSAs received. Originate New LSAs The number of LSAs originated.
6.3.1.7show ip ospf neighbor
This command displays the OSPF neighbor table list. When a particular neighbor ID is specified, detailed information about a neighbor is given. The information will only be displayed if OSPF is enabled and the interface has a neighbor.
Syntax
show ip ospf neighbor <ipaddr> <slot/port>
321