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 VLAN 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 Core license as described in the ExtremeXOS 30.7 Feature License Requirements document.