reset dns statistics packet

Function

The reset dns statistics packet command clears statistics about DNS packets sent and received.

Format

reset dns statistics packet

Parameters

None

Views

User view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
dns execute

Usage Guidelines

Usage Scenario

To clear statistics about DNS packets sent and received, run the reset dns statistics packet command. Before collecting statistics about DNS packets sent and received, run the reset dns statistics packet command to clear existing statistics. Then you can run the display dns statistics packet command to check statistics in a specified period.

Configuration Impact

Running the reset dns statistics packet command clears statistics about all DNS packets. Exercise caution when running the command.

Example

# Clear statistics about DNS packets sent and received.
<HUAWEI> reset dns statistics packet
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic