ONTAP 9.12.1 commands

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

    Display list of file extensions to exclude

    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-exclude show command displays the list of file extensions that are excluded from 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 exclude

    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 policy names for the specified Vserver.

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

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

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

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

    Examples

    The following example displays the list of file extensions that are excluded from scanning for all the policies:

    cluster1::> vserver vscan on-access-policy file-ext-to-exclude show
    Vserver         Policy Name       File-Ext Excluded
    --------------- ----------------- --------------------------------------------
    cluster1        default_CIFS      txt
    vs1             default_CIFS      txt
    vs1             policy1           mp4, wav
    vs1             policy3           wmv
    vs2             default_CIFS      txt
    vs2             policy2           mp3
    6 entries were displayed.
    Top of Page