Skip to main content
A newer release of this product is available.

vserver vscan on-access-policy disable

Contributors
Suggest changes

Disable an On-Access policy

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

Description

The vserver vscan on-access-policy disable command disable an On-Access policy for the specified Vserver.

Parameters

-vserver <vserver name> - Vserver

This parameter specifies the name of the Vserver on which you want to disable an On-Access policy. The Vserver administrator can disable On-Access policies created within the scope of the Vserver and can also disable an On-Access policy created by the cluster administrator. The cluster administrator can disable On-Access policies for any Vserver.

-policy-name <Policy name> - Policy

This parameter specifies the name of the On-Access policy you want to disable.

Examples

The following command disable an On-Access policy on specified Vserver.

cluster1::> vserver vscan on-access-policy disable -vserver vs1 -policy-name new

cluster1::> vserver vscan on-access-policy show -instance -vserver vs1 -policy-name new
Vserver: vs1
                            Policy: new
                     Policy Status: off
               Policy Config Owner: vserver
              File-Access Protocol: CIFS
                           Filters: scan-ro-volume
                    Mandatory Scan: on
Max File Size Allowed for Scanning: 4GB
            File-Paths Not to Scan: \vol\temp
       File-Extensions Not to Scan: txt