clear counters

Clears the IP counter statistics on the device.

Syntax

clear counters [ access-list { ip | ipv6 | mac } [ all | interface { fcoe [ vn-number | all ] | port-channel number | slot-id number | vlan vlan_id } | storm-control ]

Parameters

access-list
Clears the IP counter statistics on all interfaces on the switch.
all
Clears all IP counter statistics on the switch or selected interface.
interface
Specifies an interface.
port-channel number
Specifies a port-channel.
slot-id
For devices that do not support linecards, specify 0.
storm-control
Clears counters about traffic controlled by configured rate limits.

Modes

Privileged EXEC mode