You can remove a security policy from the ESXi host.

Before you begin

Be sure 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.

About this task

You can remove a security policy using the esxcli vSphere CLI command.

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.