vserver export-policy rename

Rename an export policy

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

Description

The vserver export-policy rename command renames an export policy.

Parameters

-vserver <vserver name> - Vserver
This parameter specifies the Vserver on which the export policy is located.
-policyname <export policy name> - Policy Name
This parameter specifies the export policy that you want to rename.
-newpolicyname <export policy name> - New Export Policy Name
This parameter specifies the new name of the export policy.

Examples

The following example renames an export policy named user_expolicy with the name read_only_expolicy on a Vserver named vs0:
vs1::> vserver export-policy rename -vserver vs0 -policyname user_expolicy -newpolicyname read_only_expolicy