ONTAP 9.12.1 commands

50←PDF
  • ONTAP 9.12.1 commands(CA08871-263en.pdf)
  • vserver vscan on-access-policy file-ext-to-include show

    Display list of file extensions to include

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

    Description

    The vserver vscan on-access-policy file-ext-to-include show command displays the list of file extensions to include for virus scanning belonging to the Vserver. If you do not specify any parameters, the command displays the following information about all on access policies:

    • Vserver name

    • Policy name

    • List of File-Extensions to Scan

    Parameters

    { [-fields <fieldname>,…​]

    If you specify the -fields <fieldname>, …​ parameter, the command output also includes the specified field or fields. You can use '-fields ?' to display the fields to specify.

    | [-instance ] }

    If you specify the -instance parameter, the command displays detailed information about all fields.

    [-vserver <vserver name>] - Vserver

    If you specify this parameter, the command displays information only about the policies for the specified Vserver.

    [-policy-name <Policy name>] - Policy

    If you specify this parameter, the command displays information only about the specified policy.

    [-file-ext-to-include <File extension>,…​] - File Extensions to Scan

    If you specify this parameter, the command displays information only about the policies that have the specified file extensions that are included for virus scanning.

    Examples

    The following example displays the list of file extensions that are included for virus scanning for all policies.

    cluster1::> vserver vscan on-access-policy file-ext-to-include show
    Vserver         Policy Name       File-Ext Included
    --------------- ----------------- --------------------------------------------
    cluster1        default_CIFS      *
    vs1             default_CIFS      *
    vs1             policy1           mp*
    vs1             policy3           doc*, xl*
    vs2             default_CIFS      *
    vs2             policy2           d*, m*, t*
    6 entries were displayed.
    Top of Page