clear ospf counters

clear ospf counters { interfaces [all | vlan vlan_name | area area-identifier] | area [all | area-identifier] | virtual-link [all | router-identifier area-identifier] | neighbor [all | routerid [ip-address {ip-mask} | ipNetmask] | vlan vlan_name]| system}


Clears the OSPF (Open Shortest Path First) counters (statistics).

Syntax Description

vlan_name Specifies a VLAN (Virtual LAN) name.
router-identifier Specifies a router interface number.
area-identifier Specifies an OSPF area.
ip-address Specifies an IP address
ip-mask Specifies a subnet mask.
ipNetmask Specifies IP address / Netmask.
system Specifies the OSPF system counters.



Usage Guidelines

The global command clear counters also clears all OSPF counters. This global command is the equivalent of clear ospf counters for OSPF.


The following command clears the OSPF counters for area

clear ospf counters area


This command was first available in ExtremeXOS 10.1.

Platform Availability

This command is available on platforms with an Advanced Edge or Core license as described in the ExtremeXOS 22.2 Feature License Requirements document.