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

Select to display OSPF statistics information for all VRFs.

vrf <VRF-NAME>

Specify the name of a VRF. Default: default.

[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. This parameter is available on switches that support VSX.

Authority

Operators or Administrators or local user group members with execution rights for this command. Operators 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