Skip to main content

Commands for managing on-access policies

Contributors netapp-powr netapp-thomi

You can modify, disable, or delete an on-access policy. You can view a summary and details for the policy.

If you want to…​

Enter the following command…​

Create an on-access policy

vserver vscan on-access-policy create

Modify an on-access policy

vserver vscan on-access-policy modify

Enable an on-access policy

vserver vscan on-access-policy enable

Disable an on-access policy

vserver vscan on-access-policy disable

Delete an on-access policy

vserver vscan on-access-policy delete

View summary and details for an on-access policy

vserver vscan on-access-policy show

Add to the list of paths to exclude

vserver vscan on-access-policy paths-to-exclude add

Delete from the list of paths to exclude

vserver vscan on-access-policy paths-to-exclude remove

View the list of paths to exclude

vserver vscan on-access-policy paths-to-exclude show

Add to the list of file extensions to exclude

vserver vscan on-access-policy file-ext-to-exclude add

Delete from the list of file extensions to exclude

vserver vscan on-access-policy file-ext-to-exclude remove

View the list of file extensions to exclude

vserver vscan on-access-policy file-ext-to-exclude show

Add to the list of file extensions to include

vserver vscan on-access-policy file-ext-to-include add

Delete from the list of file extensions to include

vserver vscan on-access-policy file-ext-to-include remove

View the list of file extensions to include

vserver vscan on-access-policy file-ext-to-include show

For more information about these commands, see the man pages.