system services firewall policy delete
(DEPRECATED)-Remove a service from a firewall policy
Availability: This command is available to cluster administrators at the admin privilege level.
Description
This command is deprecated and may be removed in a future ONTAP release. Use network interface service-policy delete or network interface service-policy remove-service instead. |
The system services firewall policy delete
command deletes a firewall policy. You cannot delete a policy that is being used by a logical interface. Use the network interface modify command with the -firewall-policy
parameter to change a network interface's firewall policy.
Parameters
-vserver <vserver>
- Vserver Name-
Use this parameter to specify the Vserver of the policy to delete.
-policy <textpolicy_name>
- Policy-
Use this parameter to specify the name of the policy to delete.
-service <service>
- Service-
Use this parameter to specify the policy's network service to delete.
Examples
The following example deletes a firewall policy that uses the Telnet protocol on the policy named data:
cluster1::> system services firewall policy delete -policy data -service telnet
Use wildcards to delete entire policies at once, or particular services from every policy. This example deletes the entire intercluster policy.
cluster1::> system services firewall policy delete -policy intercluster -service *
This example deletes the telnet service from every policy.
cluster1::> system services firewall policy delete -policy * -service telnet