ONTAP 9.12.1 commands

50←PDF
  • ONTAP 9.12.1 commands(CA08871-263en.pdf)
  • vserver vscan on-access-policy paths-to-exclude remove

    Remove from the list of paths to exclude

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

    Description

    The vserver vscan on-access-policy paths-to-exclude remove command removes a path or a list of paths that are excluded from scanning from the specified policy name.

    Parameters

    -vserver <vserver name> - Vserver

    This parameter specifies the name of the Vserver containing the specified on-access policy from which you want to remove a path or list of paths that are excluded from scanning.

    -policy-name <Policy name> - Policy

    This parameter specifies the name of the on-access policy from which you want to remove a path or a list of paths that are excluded from scanning.

    -paths-to-exclude <File path>,…​ - Paths Not to Scan

    This parameter specifies the path or a list of paths that must be removed from the on-access policy.

    Examples

    The following example removes a list of paths that are excluded from scanning from the specified policy name:

    cluster:> vserver vscan on-access-policy paths-to-exclude remove -vserver vs1
              -policy-name policy1 -paths-to-exclude \test\test2,\test\test3
    
    cluster1:> vserver vscan on-access-policy paths-to-exclude show -vserver vs1
              -policy-name policy1
    Vserver: vs1
                    Policy: policy1
    File-Paths Not to Scan: \test\test1
    Top of Page