< Home

Clearing IPSec Statistics

Context

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 } | policy policy-name [ seq-number ] | profile profile-name | parameters dest-address { ah | esp } spi | slot slot-id cpu cpu-id ] command in the user view to clear established SAs.
  • Run the reset ipsec statistics [ policy-name policy-name [ seq-number ] | profile-name profile-name ] [ slot slot-id cpu cpu-id ] command in the user view to clear IPSec packet statistics about the current system.
  • Run the reset ipsec statistics all-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 [ slot slot-id cpu cpu-id ] command in the user view to clear information about IPSec tunnel negotiation failures using IKE.
  • Run the reset ike offline-info [ slot slot-id cpu cpu-id ] command in the user view to clear information about deleted IPSec tunnels established through IKE negotiation.
  • Run the reset ike sa [ conn-id conn-id | remote { ipv4-address | ipv6-address } ] [ slot slot-id cpu cpu-id ] command in the user view to clear the SA established using IKE.
  • Run the reset ike statistics [ slot slot-id cpu cpu-id ] command in the user view to clear statistics about IKE packets.
  • Run the reset ipsec backup statistics { send | receive } [ slot slot-id cpu cpu-id ] command in the user view to clear IPSec backup statistics.
  • Run the reset ipsec backup statistics last { send | receive } [ slot slot-id cpu cpu-id ] command in the user view to clear the last IPSec backup statistics.
  • Run the reset ipsec history record [ slot slot-id cpu cpu-id ] command in the user view to clear history information about IPSec tunnels.
  • Run the reset ipsec statistics route [ slot slot-id cpu cpu-id ] command in the user view to clear IPSec route injection statistics.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic