< Home

reset dns-filter statistics

Function

The reset dns-filter statistics command clears statistics on DNS filtering.

Format

reset dns-filter statistics { blacklist | whitelist | category [ user-defined | pre-defined ] | redirect | safe-search | all }

Parameters

Parameter Description Value
blacklist Indicates the number of times a blacklist is matched. -
whitelist Indicates the number of times a whitelist is matched. -
user-defined Indicates the number of times a user-defined category is matched. -
pre-defined Indicates the number of times a predefined category is matched. -
redirect Indicates the number of redirected DNS request packets. -
safe-search Indicates the number of DNS request packets processed by safe search -
all Indicates the all DNS filtering statistics. -

Views

User view

Default Level

3: Management level

Usage Guidelines

The cleared DNS filtering statistics cannot be restored. Exercise caution when you run this command.

Example

# Clear all DNS filtering statistics.

<sysname> reset dns-filter statistics all
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >