Skip to main content

system services firewall policy clone

Contributors
Suggest changes

(DEPRECATED)-Clone an existing firewall policy

Availability: This command is available to cluster administrators at the admin privilege level.

Description

Note This command is deprecated and may be removed in a future ONTAP release. Use network interface service-policy clone instead.

The system services firewall policy clone command creates a new firewall policy that is an exact copy of an existing policy, but has a new name.

Parameters

-vserver <text> - Vserver owning the Policy

Use this parameter to specify the name of the Vserver owning the existing policy to copy.

-policy <text> - Firewall Policy to be Cloned

Use this parameter to specify the name of the existing policy to copy.

[-destination-vserver <text>] - Vserver owning the New Firewall Policy

Use this parameter to specify the name of the Vserver that will own the new policy to create.

-destination-policy <text> - Name of New Firewall Policy

Use this parameter to specify the name of the new policy to create.

Examples

This example creates a new firewall policy named "data2" on Vserver "vs0" from an existing firewall policy named "data" on Vserver "vs1".

cluster1::> system services firewall policy clone -vserver vs0 -policy data -destination-vserver vs1 -destination-policy data2