Statistics cannot be restored after being cleared. Exercise caution when you run the reset commands.
Procedure
Run the reset ipsec sa [ remote {ipv4-address | ipv6-address } | policypolicy-name [ seq-number ] | profileprofile-name | parametersdest-address { ah | esp } spi | slotslot-idcpucpu-id ] command in the user view to clear established SAs.
Run the reset ipsec statistics[ policy-namepolicy-name [ seq-number ] | profile-nameprofile-name ][ slotslot-idcpucpu-id ] command in the user view to clear IPSec packet statistics about the current system.
Run the reset ipsec statisticsall-systems command in the user view to clear IPSec packet statistics about all systems including the root system and virtual system.
Run the reset ike error-info [ slotslot-idcpucpu-id ] command in the user view to clear information about IPSec tunnel negotiation failures using IKE.
Run the reset ike offline-info [ slotslot-idcpucpu-id ] command in the user view to clear information about deleted IPSec tunnels established through IKE negotiation.
Run the reset ike sa [ conn-idconn-id | remote { ipv4-address | ipv6-address } ] [ slotslot-idcpucpu-id ] command in the user view to clear the SA established using IKE.
Run the reset ike statistics [ slotslot-idcpucpu-id ] command in the user view to clear statistics about IKE packets.
Run the reset ipsec backup statistics { send | receive } [ slotslot-idcpucpu-id ] command in the user view to clear IPSec backup statistics.
Run the reset ipsec backup statisticslast { send | receive } [ slotslot-idcpucpu-id ] command in the user view to clear the last IPSec backup statistics.
Run the reset ipsec history record [ slotslot-idcpucpu-id ] command in the user view to clear history information about IPSec tunnels.
Run the reset ipsec statistics route [ slotslot-idcpucpu-id ] command in the user view to clear IPSec route injection statistics.