clear ip ospf statistics

Syntax

clear ip ospf [] statistics [interface []] [all-vrfs | vrf]

描述

Clear the OSPF event statistics.

Command context

Operator (>)或经理(#)

Parameters

OSPF进程ID. Clear the statistics for the particular OSPF process. Range: 1 to 63.

Clear the OSPF statistics for the specified interface.

all-vrfs

Optionally select to clear the OSPF statistics for all VRFs.

vrf

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

权威

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

Clearing the OSPF event statistics:

switch#clear ip ospf statisticsswitch#clear ip ospf statistics interface 1/1/1