security ipsec policy delete
Delete an IPsec policy
Availability: This command is available to cluster and Vserver administrators at the admin privilege level.
Description
This command deletes an existing IPsec policy.
Parameters
-vserver <vserver name>
- Vserver-
Specifies the Vserver to which the policy belongs. If there is only a single Vserver capable of supporting IPsec, the Vserver parameter is implied.
-name <text>
- Policy Name-
This required parameter specifies the name of the policy to be deleted. The name may be a text string (1-64 bytes), a hexadecimal string (beginning with '0x') or a base64 encoded binary string (beginning with '0s').
Examples
This is an example of IPsec policy deletion where two or more Vservers are capable of supporting IPsec:
cluster-1::> security ipsec policy delete -vserver vs_data1 -name DiscardTraffic
This is an example of IPsec policy deletion where only a single Vserver is capable of supporting IPsec:
cluster-1::> security ipsec policy delete -name policy1
This is an example of an attempt to delete a non-existent IPsec policy:
cluster-1::> security ipsec policy delete -vserver vs_data1 -name Discard Error: There are no entries matching your query.