< Home

reset ip statistics

Function

The reset ip statistics command clears IP traffic statistics on an interface.

Format

reset ip statistics [ interface interface-type interface-number ]

Parameters

Parameter Description Value
interface interface-type interface-number Specifies the type and ID of an interface. If no optional parameter is specified, all the IP statistics will be deleted. -

Views

User view

Default Level

3: Management level

Usage Guidelines

To collect IP traffic statistics on an interface in a period of time, you must clear the existing traffic statistics and collect IP statistics after a period of time. Run the display ip statistics command to display information.

If no parameter is specified, the command clears IP traffic statistics on all boards.

Example

# Clear IP statistics on all interfaces.

<HUAWEI> reset ip statistics
# Clear IP statistics on VLANIF10.
<HUAWEI> reset ip statistics interface vlanif 10
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >