Clears counters of the specified interface.
Exec mode
This command is available only to users with the admin role.
The following example clears counters of the Ethernet interface on slot/port 1/1.
device# clear counters interface ethernet 1/1
The following example clears counters on management interface 0.
device# clear counters interface management 0
The following example clears port-channel 1 counters.
device# clear counters interface port-channel 1 device# clear counters interface port-channel 1-3,5,7-9
The following example clears counters for all Ethernet interfaces.
device# clear counters interface ethernet all