show ip ospf statistics

Syntax

show ip ospf [<INSTANCE-TAG>] 
     statistics [all-vrfs | vrf <VRF-NAME>] [vsx-peer]

Description

Displays OSPF statistics.

Command context

Operator (>) or Manager (#)

Parameters

<INSTANCE-TAG>

Enter an OSPF Process ID to display information on the OSPF statistics for the particular OSPF process. Range: 1-63.

all-vrfs

Optionally select to display OSPF statistics information for all VRFs.

vrf <VRF-NAME>

Optionally select to display OSPF statistics information for a particular VRF. If the VRF is not specified, information for the default VRF is displayed.

[vsx-peer]

Shows the output from the VSX peer switch. If the switches do not have the VSX configuration or the ISL is down, the output from the VSX peer switch is not displayed.

Authority

Operators or Administrators. Users without administrator authority can execute this command from the operator context (>) only.

Examples

Showing OSPF statistics:

switch# show ip ospf statistics
OSPF Process ID 1 VRF default, Statistics (cleared 1h 16m 24s ago)
-------------------------------------------------------------

Unknown Interface Drops         : 0
Unknown Virtual Interface Drops : 0
Bad Instance ID Drops           : 0
Bad IP Header Length Drops      : 0
Wrong OSPF Version Drops        : 0
Bad Source IP Drops             : 0
Resource Failure Drops          : 0
Bad Header Length Drops         : 0
Total Drops                     : 0