CLI Guide

show ip ospf statistics
Display OSPF statistics.
Syntax
show ip ospf [process-id | vrf vrf-name] statistics global |
[interface name {neighbor router-id}]
Parameters
process-id Enter the OSPF Process ID to show a specific process. If no
Process ID is entered, command applies only to the first
OSPF process.
vrf vrf-name Enter the keyword vrf followed by the name of the VRF to
display statistics corresponding to the OSPF process that is
tied to a specific VRF.
global Enter the keyword global to display the packet counts
received on all running OSPF interfaces and packet counts
OSPF neighbors receive and transmit.
interface name (OPTIONAL) Enter the keyword interface then one of the
following interface keywords and slot/port or number
information:
For a 10-Gigabit Ethernet interface, enter the keyword
TenGigabitEthernet then the slot/port/subport
information.
For a 40-Gigabit Ethernet interface, enter the keyword
fortyGigE then the slot/port/subport information.
For a 25-Gigabit Ethernet interface, enter the keyword
twentyFiveGigE then the slot/port/subport
information.
For a 50-Gigabit Ethernet interface, enter the keyword
fiftyGigE then the slot/port/subport information.
For a 100-Gigabit Ethernet interface, enter the keyword
hundredGigE then the slot/port information.
For a port channel interface, enter the keywords port-
channel
then a number.
For a VLAN interface, enter the keyword vlan then a
number from 1 to 4094.
neighbor router-
id
(OPTIONAL) Enter the keyword neighbor then the
neighbor’s router-id in dotted decimal format (A.B.C.D.).
Defaults None
Command Modes
EXEC
EXEC Privilege
1172
Open Shortest Path First (OSPFv2 and OSPFv3)