ONTAP 9.15.1 commands

vserver export-policy copy

Copy an export policy

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

Description

The vserver export-policy copy command creates a copy of an export policy on the same or a different Vserver. The command fails if an export policy with the specified new name already exists on the target Vserver.

Parameters

-vserver <vserver name> - Vserver

This parameter specifies the Vserver on which the export policy that you want to copy is located.

-policyname <export policy name> - Policy Name

This parameter specifies the export policy that you want to copy.

-newvserver <vserver name> - New Vserver

This parameter specifies the Vserver to which you want to copy the export policy.

-newpolicyname <export policy name> - New Export Policy Name

This parameter specifies the name of the new policy.

Examples

The following example copies an existing policy named read_only_expolicy located on a Vserver named vs0 to a new policy named default_expolicy located on a Vserver named vs1.

vs1::> vserver export-policy copy -vserver vs0 -policyname read_only_expolicy -newvserver vs1 -newpolicyname default_expolicy
Top of Page