show ip ospf statistics
Display OSPF statistics.
C-Series, E-Series, S-Series, Z-Series, S4810
Syntax
show ip ospf process-id 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.
global Enter the keyword global to display the packet counts received on 
all running OSPF interfaces and packet counts received and 
transmitted by all OSPF neighbors.
interface 
name
(OPTIONAL) Enter the keyword interface followed by one of the 
following interface keywords and slot/port or number information:
• For a 1-Gigabit Ethernet interface, enter the keyword 
GigabitEthernet followed by the slot/port information.
• For Port Channel groups, enter the keywords port-
channel
 followed by a number. For the C-Series and S-
Series, the range is 1 to 128. For the E-Series, the range is 1 to 
255 for TeraScale.
• For a SONET interface, enter the keyword sonet followed by 
the slot/port information.
• For a 10-Gigabit Ethernet interface, enter the keyword 
TenGigabitEthernet followed by the slot/port 
information.
• For a VLAN, enter the keyword vlan followed by a number 
from 1 to 4094.
• For a 40-Gigabit Ethernet interface, enter the keyword 
fortyGigE followed by the slot/port information.
neighbor 
router-
id
(OPTIONAL) Enter the keyword neighbor followed by the 
neighbor’s router-id in dotted decimal format (A.B.C.D.).
Defaults none
Command Modes
• EXEC
• EXEC Privilege
Command History
Version 8.3.11.1 Introduced on the Z9000.
Version 8.3.7.0 Introduced on the S4810.
Version 7.8.1.0 Added support for Multi-Process OSPF.
Version 7.6.1.0 Introduced on the S-Series.
Version 7.5.1.0 Introduced on the C-Series.
1095