The reset ipsec backup statistics command clears IPSec backup statistics.
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 ]
| 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. |
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.