< Home

reset service-security counters

Function

The reset service-security counters command clears statistics about an MPAC policy.

Format

reset service-security counters { ipv4 | ipv6 } [ security-policy-name ]

Parameters

Parameter Description Value
ipv4 Specifies IPv4 MPAC policies. -
ipv6 Specifies IPv4 MPAC policies. -
security-policy-name Specifies the name of an MPAC policy. The value is a string of 1 to 31 case-sensitive characters without spaces and must start with a letter.

Views

User view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

When excessive MPAC policy statistics are stored or new statistics are queried, you can run the reset service-security counters command to clear the existing statistics.

To clear statistics about a specified IPv4 or IPv6 MPAC policy, specify the security-policy-name parameter. To clear statistics about all MPAC policies, do not specify the security-policy-name parameter.

Precautions

After the reset service-security counters command is run, the original statistics are cleared and cannot be displayed.

Example

# Display statistics about the IPv4 MPAC policy named huawei.

<sysname> reset service-security counters ipv4 huawei
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >