Skip to main content

Create an export policy

Contributors netapp-aherbin

Before creating export rules, you must create an export policy to hold them. You can use the vserver export-policy create command to create an export policy.

Steps
  1. Create an export policy:

    vserver export-policy create -vserver vserver_name -policyname policy_name

    The policy name can be up to 256 characters long.

  2. Verify that the export policy was created:

    vserver export-policy show -policyname policy_name

Example

The following commands create and verify the creation of an export policy named exp1 on the SVM named vs1:

vs1::> vserver export-policy create -vserver vs1 -policyname exp1

vs1::> vserver export-policy show -policyname exp1
Vserver          Policy Name
---------------  -------------------
vs1              exp1