reset ipsec statistics

Function

The reset ipsec statistics command clears statistics about protocol packets processed by IPsec.

Format

reset ipsec statistics [ slot slot-number [ conn_id connid ] ]

Parameters

Parameter Description Value
slot slot-number

Specifies the slot ID of the IPsec component.

-

conn_id connid

Specifies the index of IKE SAs.

The value is an integer that ranges from 1 to 65535.

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
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >