Skip to main content

Enable virus scanning on an SVM

Contributors netapp-aaron-holt netapp-powr netapp-aherbin

You must enable virus scanning on an SVM before an on-access or on-demand scan can run.

Steps
  1. Enable virus scanning on an SVM:

    vserver vscan enable -vserver data_SVM

    Learn more about vserver vscan enable in the ONTAP command reference.

    Note

    You can use the vserver vscan disable command to disable virus scanning, if necessary. Learn more about vserver vscan disable in the ONTAP command reference.

    The following command enables virus scanning on the vs1 SVM:

    cluster1::> vserver vscan enable -vserver vs1
  2. Verify that virus scanning is enabled on the SVM:

    vserver vscan show -vserver data_SVM

    Learn more about vserver vscan show in the ONTAP command reference.

    The following command displays the Vscan status of the vs1 SVM:

    cluster1::> vserver vscan show -vserver vs1
    
                               Vserver: vs1
                          Vscan Status: on