system services firewall policy delete
Remove a service from a firewall policy
Availability: This command is available to cluster administrators at the admin privilege level.
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.
-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.
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