< Home

reset audit-policy counter

Function

The reset audit-policy counter command clears the match count of a specified or all audit policy rules. Match count refers to the number of times an audit policy rule is matched.

Format

reset audit-policy counter { all | rule rule-name }

Parameters

Parameter Description Value
all Indicates all audit policy rules. -
rule rule-name Specifies the name of an audit policy rule. The specified audit policy rule must exist.

Views

User view

Default Level

2: Configuration level

Usage Guidelines

None

Example

# Clear the match count of audit policy rule policy_audit.

<sysname> reset audit-policy counter rule policy_audit
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >