reset counters interface

Syntax

reset counters interface [ interface-type [ interface-number ] ]

View

User view

Default level

2: System level

Parameters

interface-type: Specifies an interface type.

interface-number: Specifies an interface number.

Description

Use reset counters interface to clear the Ethernet interface statistics.

Before collecting traffic statistics for a specific period of time on an interface, clear the old statistics first.

Examples

# Clear the statistics of Ethernet 1/0/1.

<Sysname> reset counters interface ethernet 1/0/1