< Home

reset ipsec sa

Function

The reset ipsec sa command deletes IPSec SAs.

Format

reset ipsec sa [ remote ipv4-address | parameters ipv4-address esp spi | efficient-vpn efficient-vpn-name ]

Parameters

Parameter Description Value
remote ipv4-address Specifies the IPv4 address of the remote end. The value is in dotted decimal notation.
parameters ipv4-address esp spi Specifies the three elements that uniquely identify an IPSec SA. The three elements are ipv4-address (destination address), protocol (ESP), and Security Parameter Index (SPI). To reset an SA, the three elements must be specified.
The three elements are described as follows:
  • ipv4-address: IPv4 address.
  • protocol: ESP.
  • spi: an integer that ranges from 256 to 4294967295.

efficient-vpn efficient-vpn-name

Specifies the name of an Efficient VPN policy.

The value is an existing Efficient VPN policy name.

Views

User view

Default Level

3: Management level

Usage Guidelines

When you run the reset ipsec sa command to delete IPSec SAs, note the following points:
  • If no parameter is specified, all IPSec SAs are deleted.

  • If parameters is specified, the IPSec SAs in two directions are deleted simultaneously.

  • To delete IPSec SAs established through IKE negotiation, you must run the reset ipsec sa and reset ike sa commands in sequence. Otherwise, IPSec SAs established through IKE negotiation fail to be deleted. After the IPSec SAs are deleted, IKE peers re-negotiate IPSec SAs only when packets trigger IKE negotiation.

Example

# Delete the IPSec SA created through Efficient VPN policy evpn.
<HUAWEI> reset ipsec sa efficient-vpn evpn
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >