reset ipsec statistics sa-name

Function

The reset ipsec statistics command clears statistics about protocol 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.

It is a string of 1 to 15 case-sensitive characters, spaces not supported. The characters can be letters or numbers, hyphens (-) not supported. When double quotation marks are used around the string, spaces are allowed in the string.

slot slot-number

Specifies the slot number on which IPsec component is running.

-

Views

User view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
ipsec execute

Usage Guidelines

Usage Scenario

Before collecting statistics about protocol 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 protocol 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 protocol packets processed by IPsec.
<HUAWEI> reset ipsec statistics sa-name huawei2
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >