< Home

reset ipsec backup statistics

Function

The reset ipsec backup statistics command clears IPSec backup statistics.

The virtual system does not support this command.

Format

reset ipsec backup statistics { send | receive } [ slot slot-id cpu cpu-id ]

reset ipsec backup statistics last { send | receive } [ slot slot-id cpu cpu-id ]

Parameters

Parameter Description Value

send

Clears backup statistics about IPSec sent packets.

-

receive

Clears backup statistics about IPSec received packets.

-

last

Clears the last IPSec backup statistics.

-

slot slot-id cpu cpu-id

Clears IPSec backup statistics on a specified CPU in a specified slot.

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

Views

User view

Default Level

3: Management level

Usage Guidelines

Statistics cannot be restored after being cleared.

In dual-system hot standby or a single device with active and standby SPUs, to locate faults in the IPSec backup mechanism, you can collect backup statistics within only a certain period. In this situation, you need to run the reset ipsec backup statistics command to clear historical statistics and then run the display ipsec backup statistics command to view IPSec backup statistics.

Example

# Clear IPSec backup statistics.

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