clear counters (interface)

Last Updated : Oct 21, 2015 |

Clears counters for the selected interface or the entire device.

Syntax

clear counters [interface_type interface_identifier]

Parameters

Parameter

Description

Possible Values

Default Value

interface_ type

The type of interface

interface_ identifier

The interface number. The format varies depending on the value of interface_type:

For FastEthernet: module/port

For Vlan: Vlan id

For LoopBack: Loopback number

For FastEthernet: 10/2

For VLAN: 1-4090

For Loopback: 1-99

User level

read-write

Context

general

Example

To clear counters on interface Vlan 1:

Gxxx-001(super)# clear counters Vlan 1