clear counters

Clears the IP counter statistics on the device.

Syntax

clear counters { all | interface { ve ve-id } }
clear counters slot slot-id

Parameters

all
Clears all IP counter statistics on the device or the selected interface. It also clears all VE Statistics.
interface
Specifies an interface.
ve ve-id
Clears all VE statistics for the specified VE ID.
slot slot-id
For devices that do not support line cards, specify 0.

Modes

Privileged EXEC mode

Example

This example clears all VE statistics for the specified VE ID.
9540
SLX# clear counters interface ve 138
9640
SLX# clear counters interface ve 15