87
Cisco Nexus 3548 Switch NX-OS Unicast Routing Command Reference
OL-27852-01
Chapter Unicast Routing Commands
clear ip ospf statistics
clear ip ospf statistics
To clear Open Shortest Path First (OSPF) event statistics, use the clear ip ospf statistics command.
clear ip ospf [instance-tag] statistics [vrf vrf-name]
Syntax Description
Command Default None
Command Modes Any command mode
Command History
Usage Guidelines Use the clear ip ospf statistics command to clear the event statistics from one or more OSPF instances.
If you do not specify the instance-tag argument, Cisco NX-OS clears statistics from all OSPF instances.
Use the show ip ospf statistics command to to view the statistics that you are clearing.
This command requires the LAN Base Services license.
Examples This example shows how to clear all OSPF event statistics:
switch# clear ip ospf statistics
Related Commands
instance-tag (Optional) Instance tag. Specify as an alphanumeric string of up to 20
characters.
vrf vrf-name (Optional) Specifies the name of the OSPF virtual routing and
forwarding (VRF) instance. The vrf-name argument can be any
alphanumeric string of up to 32 characters, except “default” and “all”.
Release Modification
5.0(3)A1(1) This command was introduced.
Command Description
show ip ospf statistics Displays event statistics for OSPF.