< Home

reset statistics-peak

Function

The reset statistics-peak command clears Peak Information Rate (PIR) statistics on an interface.

Format

reset statistics-peak interface interface-type interface-number

PIR statistics on the management interface cannot be cleared.

Parameters

Parameter

Description

Value

interface interface-type interface-number

Clears PIR statistics on a specified interface.
  • interface-type specifies the interface type.
  • interface-number specifies the interface number.

-

Views

All views

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Generally, the PIR of an interface indicates the maximum rate of the interface in a long time. To check the recent peak rate of an interface, run the reset statistics-peak command to clear the previous peak rate record and obtain the new peak rate. To view the peak rate of an interface, run the display interface command. The following information is displayed:
Input peak rate 244425848 bits/sec,Record time: 2008-01-01 00:16:37             
Output peak rate 753496 bits/sec,Record time: 2008-01-15 19:25:12

Precautions

PIR statistics on a specified interface cannot be restored after they are cleared. Exercise caution before clearing the statistics.

Example

# Clear PIR statistics on GE0/0/1.

<HUAWEI> reset statistics-peak interface gigabitethernet 0/0/1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >