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}

Description

Clears the OSPF counters (statistics).

Syntax Description

vlan_name Specifies a This command is available on the ExtremeSwitching X440-G2, X450-G2, X460-G2, X465, X590, X620, X670-G2, X690, X695, X870, 5320, 5420, 5520 series switches. 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.

Default

N/A.

Usage Guidelines

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

Example

The following command clears the OSPF counters for area 1.1.1.1:

clear ospf counters area 1.1.1.1

History

This command was first available in ExtremeXOS 10.1.

Platform Availability

This command is available on platforms with an Advanced Edge or Base license, or higher, as described in the ExtremeXOS and Switch Engine 31.7 Feature License Requirements document.