< Home

reset ipsec statistics

Function

The reset ipsec statistics command clears statistics about packets processed by IPSec.

Format

reset ipsec statistics [ sa-name sa-name slot slot-number ]

Parameters

Parameter Description Value
sa-name sa-name Specifies the IPSec Security Association (SA) name.

The value is an existing SA name.

slot slot-number Displays the IPSec SA statistics of the specified slot.

The value is an integer, and the value range depends on the device configuration.

Views

User view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Before collecting statistics about packets processed by IPSec in a specified length of time, you can run the reset ipsec statistics command to clear the original statistics.

Follow-up Procedure

Run the display ipsec statistics command to check statistics about packets processed by IPSec.

Precautions

The statistics cannot be restored after being cleared. Therefore, confirm the action before running this command.

Example

# Clear statistics about packets processed by IPSec.

<HUAWEI> reset ipsec statistics
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >