Clearing IP OSPF Statistics

Use the following procedure to clear all IPv4 OSPF statistics.

Procedure

  1. Enter Privileged EXEC mode:

    enable

  2. Clear IPv4 OSPF statistics:

    clear ip ospf stats [vrf WORD<1-16>] [vrfids WORD<0-512>]

Variable Definitions

Use the data in the following table to use the clear ip ospf stats command.

Variable

Value

vrf WORD<1–16>

Specifies a VRF instance by VRF name.

vrfids WORD<0–512>

Specifies the ID of the VRF.