--- title: "viewpolicy show" slug: "viewpolicy-show" tags: ["5.4"] updated: 2026-10-28T01:53:11Z published: 2026-10-28T01:53:11Z canonical: "docs.vastdata.com/viewpolicy-show" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.vastdata.com/llms.txt > Use this file to discover all available pages before exploring further. # viewpolicy show This command displays details of a specific view policy or the protocol auditing configuration in the view policy. ##### Usage ```plaintext viewpolicy show --id ID               [--audit] ``` ##### Required Parameters | `--id ID` | Specifies which view policy to show, by its ID (integer). | | --- | --- | ##### Options | `--audit` | Shows the protocol auditing configuration. | | --- | --- | ##### Example This example displays details of the default view policy. ```plaintext vcli: admin> viewpolicy show --id 3 +------------------------------------------------+---------------------+ | ID                                             | 3                   | | Name                                           | s3_default_policy   | | Cluster                                        | vast-cluster-1      | | Atime-frequency                                | None                | | NFS-read-write                                 | ['*']               | | NFS-read-only                                  | []                  | | SMB-read-write                                 | ['*']               | | SMB-read-only                                  | []                  | | S3-read-write                                  | ['*']               | | S3-read-only                                   | []                  | | NFS-trash-access                               | []                  | | Auth-source                                    | RPC                 | | NFS-POSIX-ACL                                  | No                  | | NFS-return-open-permissions                    | False               | | NFS-no-squash                                  | []                  | | NFS-root-squash                                | ['*']               | | NFS-all-squash                                 | []                  | | Default file permissions                       | 644                 | | Default folder permissions                     | 755                 | | Gid-inheritance                                | LINUX               | | Flavor                                         | S3_NATIVE           | | Path-length                                    | NPL                 | | Allowed-characters                             | NPL                 | | Use-32bit-fileid                               | False               | | Expose-id-in-fsid                              | False               | | VIP Pools                                      | []                  | | Nfs-minimal-protection-level                   | SYSTEM              | | Apple sid                                      | True                | | Remote-mapping                                 | {}                  | | Created time                                   | 2023-01-18 07:54:41 | | Accessible .snapshot Folder In Subdirectories  | True                | | Visible .snapshot Folder In SMB Subdirectories | False               | | Tenant-id                                      | 1                   | | Enforce use of TLS certificate                 | False               | +------------------------------------------------+---------------------+ ```