clear interface

This topic explains the command that clears the statistical counters of an interface.

Syntax

clear interfaces {id} counters

Parameter

id: Specify the interface. The id parameter represents the interface number.

Default

No default value.

Mode

Privileged EXEC

Usage

Use this command to clear statistical counters for a specific interface.

Example

This example shows how to clear the counters on interface g1:
CODE
Switch# clear interfaces g1 counters