< Home

reset counters top interface

Function

The reset counters top interface command clears top N interface traffic statistics reports.

Format

reset counters top interface report [ report-number ]

Parameters

Parameter Description Value
report-number Specifies the number of the top N interface traffic statistics report to be deleted. If you do not specify this parameter, the command clears all top N interface traffic statistics reports. The value is an integer ranging from 1 to 5.

Views

User view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

The top N interface traffic statistics function allows a device to generate a maximum of five top N interface traffic statistics reports. If you want to generate new top N interface traffic statistics reports when five top N interface traffic statistics reports already exist, run the reset counters top interface report [ report-number ] command to clear existing ones.

Precautions

  • After you run the reset counters top interface report report-number command to clear a specified top N interface traffic statistics report, the numbers of other top N interface traffic statistics reports remain unchanged.
  • You can run the reset counters top interface report [ report-number ] command even if less than five top N interface traffic statistics reports exist.

Example

# Clear all top N interface traffic statistics reports.
<HUAWEI> reset counters top interface report
# Clear the top N interface traffic statistics report numbered 1.
<HUAWEI> reset counters top interface report 1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >