You can remove a security policy from the ESXi host using the ESXCLI command.

Prerequisites

Verify that the security policy you want to use is not currently in use. If you try to remove a security policy that is in use, the removal operation fails.

Procedure

  • At the command prompt, enter the command esxcli network ip ipsec sp remove --sa-name security policy name.
    To remove all security policies, enter the command esxcli network ip ipsec sp remove --remove-all.