ONTAP 9.12.1 commands

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

    Display list of paths to exclude

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

    Description

    The vserver vscan on-access-policy paths-to-exclude show command displays the list of paths 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 Paths 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.

    [-paths-to-exclude <File path>,…​] - File Paths Not to Scan

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

    Examples

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

    cluster1::> vserver vscan on-access-policy paths-to-exclude  show
    Vserver         Policy Name       Paths Excluded
    --------------- ----------------- --------------------------------------------
    cluster1        default_CIFS      \test\test1
    vs1             default_CIFS      \test\test1
    vs1             policy1           \test\test2,\test\test3
    vs1             policy3           \test\test4
    vs2             default_CIFS      \test\test1
    vs2             policy2           \test\test5
    6 entries were displayed.
    Top of Page