< Home

reset ipsec statistics

Function

The reset ipsec statistics command deletes statistics about IPSec packets.

Format

reset ipsec statistics [ policy-name policy-name [ seq-number ] | profile-name profile-name ] [ slot slot-id cpu cpu-id ]

reset ipsec statistics all-systems

Parameters

Parameter Description Value

policy-name policy-name

Deletes IPSec statistics about the IPSec policy with a specified name.

NOTE:

This parameter is available only in the root system.

The value must be an existing IPSec policy name.

seq-number

Deletes IPSec statistics about the IPSec policy with a specified sequence number.

NOTE:

This parameter is available only in the root system.

The value must be an existing IPSec policy sequence number.

profile-name profile-name

Deletes IPSec statistics about the IPSec profile with a specified name.

NOTE:

This parameter is available only in the root system.

The value must be an existing IPSec profile name.

slot slot-id cpu cpu-id

Deletes IPSec statistics with the specified slot ID and CPU ID. Only the USG6635E/6655E, USG6680E and USG6712E/6716E support this parameter.

The values of slot-id and cpu-id are integers and must be set according to the device configuration.

all-systems

Deletes IPSec packet statistics about all systems including the root system and virtual system.

NOTE:

This parameter is available only in the root system.

-

Views

User view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

Before collecting statistics about IPSec packets within a given period of time, run this command to delete existing statistics.

Precautions

  • If parameters are not specified, statistics about all IPSec packets are deleted.

  • The deleted statistics about IPSec packets cannot be restored. Exercise caution when you run this command.

Example

# Delete statistics about all IPSec packets.

<sysname> reset ipsec statistics

# Delete statistics about IPSec packets of IPSec policy policy1.

<sysname> reset ipsec statistics policy-name policy1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >