< Home

reset packet-capture statistic

Function

The reset packet-capture statistic command resets the statistic information of packet-capture.

Format

reset packet-capture [ hardware ] statistic

Parameters

Parameter Description Value

hardware

This parameter is available when packets are sent to the CPU through the NP chip.

-

Views

User view

Default Level

3: Management level

Usage Guidelines

When diagnosing and locating faults, you usually need to collect packet-capture statistics within a period. To ensure the accuracy of packet capture this time, first run the reset packet-capture statistic command to clear historical statistics. Then, run the display packet-capture command to check the 5-tuple packet capture configuration and packet statistics.

Example

# Reset the packet-capture statistic information of the device.

<sysname> reset packet-capture statistic
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic