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 Serial: module/port:channel-group

For Vlan: Vlan id

For LoopBack: Loopback number

For FastEthernet: 10/3 or 10/4

For Serial(USP): 2/13/1, 4/1, 8/1

For Serial (DS1): module/port: 2/13/1, 4/1, 8/1

channel-group:

E1: 0-30

T1: 0-23

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