Skip to main content
A newer release of this product is available.

vserver fpolicy policy scope show

Contributors
Suggest changes

Display scope

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

Description

The vserver fpolicy policy scope show command displays scope information about all FPolicy policies belonging to the Vserver. The command output depends on the parameter or parameters specified with the command. If you do not specify any parameters, the command displays the following information about all FPolicy scopes:

  • Vserver name

  • Policy name

  • The file extensions to include

  • The file extensions to exclude

You can use the -fields parameter to specify which fields of information to display about FPolicy scopes. In addition to the fields above, you can display the following fields:

  • The shares to include

  • The shares to exclude

  • The volumes to include

  • The volumes to exclude

  • The export policies to include

  • The export policies to exclude

  • Whether file extention check on directories is enabled

  • Whether monitoring of objects with no extension is enabled

You can specify specific parameters to display only information that matches those parameters. For example, to display scope information only about all FPolicy policies where the -file-extensions-to-include parameter is set to txt, run the command with the -fields parameter set to policy-name and -file-extensions-to-include parameter set to txt.

You can specify the -instance parameter to display scope information for all FPolicy policies in a list format.

Note This command is not supported for a Vserver with Infinite Volume.

Parameters

{ [-fields <fieldname>,…​]

If you specify the -fields <fieldname>, …​ parameter, the command only displays the fields that you specify.

| [-instance ] }

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

[-vserver <Vserver Name>] - Vserver

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

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

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

[-shares-to-include <Share name>,…​] - Shares to Include

If you specify this parameter, the command displays scope information only about the FPolicy policy or policies that use the specified share or shares in the include list.

[-shares-to-exclude <Share name>,…​] - Shares to Exclude

If you specify this parameter, the command displays scope information only about the FPolicy policy or policies that use the specified share or shares in the exclude list.

[-volumes-to-include <volume name>,…​] - Volumes to Include

If you specify this parameter, the command displays scope information only about the FPolicy policy or policies that use the specified volume or volumes in the include list.

[-volumes-to-exclude <volume name>,…​] - Volumes to Exclude

If you specify this parameter, the command displays scope information only about the FPolicy policy or policies that use the specified volume or volumes in the exclude list.

[-export-policies-to-include <FPolicy export policy>,…​] - Export Policies to Include

If you specify this parameter, the command displays scope information only about the FPolicy policy or policies that use the specified export policy or policies in the include list.

[-export-policies-to-exclude <FPolicy export policy>,…​] - Export Policies to Exclude

If you specify this parameter, the command displays scope information only about the FPolicy policy or policies that use the specified export policy or policies in the exclude list.

[-file-extensions-to-include <File extension>,…​] - File Extensions to Include

If you specify this parameter, the command displays scope information only about the FPolicy policy or policies that use the specified file extension or extensions in the include list.

[-file-extensions-to-exclude <File extension>,…​] - File Extensions to Exclude

If you specify this parameter, the command displays scope information only about the FPolicy policy or policies that use the specified file extension or extensions in exclude list.

[-is-file-extension-check-on-directories-enabled {true|false}] - Is File Extension Check on Directories Enabled (privilege: advanced)

If you specify this parameter, the command displays scope information only about the FPolicy policy or policies that use the specified file extension check on directories. If set to true, the command displays information about scopes where file extension checks on directories is enabled. If set to false, the command displays information about scopes where file extension checks on directories is disabled.

[-is-monitoring-of-objects-with-no-extension-enabled {true|false}] - Is Monitoring of Objects with No Extension Enabled (privilege: advanced)

If you specify this parameter, the command displays scope information only about the FPolicy policy or policies that use the specified monitoring of objects with no extension setting. If set to true, the command displays information about scope of policy or policies for which monitoring of objects with no extension is enabled.

Examples

The following example displays scope information about FPolicy policies.

cluster1::> vserver fpolicy policy scope show
         Vserver           Policy              Extensions           Extensions
         Name              Name                Included             Excluded
         ----------------- ------------------- -------------------- -------------------
         Cluster           cserver_pol         -                    -
         vs1.example.com   p                   -                    -
         vs1.example.com   vs1_pol             mp3                  -
         3 entries were displayed.