--- title: "viewpolicy show" slug: "viewpolicy-show" tags: ["5.5"] updated: 2026-10-27T23:00:54Z published: 2026-10-27T23:00:54Z 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]               [--nfs-acl]               [--smb-acl]               [--s3]               [--advanced] ``` #### Required Parameters | `--id ID` | Specifies which view policy to show, by its ID (integer). | | --- | --- | #### Options | `--audit` | Shows the protocol auditing configuration. | | --- | --- | | `--nfs-acl` | Filters the output to show NFS ACL-related fields only. | | `--smb-acl` | Filters the output to show SMB ACL-related fields only. | | `--s3` | Filters the output to show S3-related settings only. | | `--advanced` | Filters the output to show advanced protocol settings only. | #### Example ```plaintext vcli: admin> viewpolicy show --id 50 +------------------------------------------------+----------------------------------+ | ID                                             | 50                               | | Name                                           | tmp_policy_17710548490966775_SMB | | Cluster                                        | vast98-var                       | | Atime-frequency                                | None                             | | NFS-read-write                                 | ['*']                            | | NFS-read-only                                  | []                               | | SMB-read-write                                 | ['*']                            | | SMB-read-only                                  | []                               | | S3-read-write                                  | ['*']                            | | S3-read-only                                   | []                               | | NFS-trash-access                               | []                               | | Group Membership Source                        | Providers                        | | Disable-read-lease                             | False                            | | Disable-write-lease                            | False                            | | Disable-handle-lease                           | False                            | | NFS-POSIX-ACL                                  | No                               | | NFS-return-open-permissions                    | False                            | | NFS-no-squash                                  | ['*']                            | | NFS-root-squash                                | []                               | | NFS-all-squash                                 | []                               | | Default file permissions                       | 644                              | | Smb-recursive-change-notify                    | False                            | | Default folder permissions                     | 755                              | | Gid-inheritance                                | LINUX                            | | Flavor                                         | SMB                              | | Max name length                                | LCD                              | | Allowed-characters                             | LCD                              | | Use-32bit-fileid                               | False                            | | Expose-id-in-fsid                              | False                            | | Nfs-minimal-protection-level                   | NONE                             | | Apple sid                                      | True                             | | Remote-mapping                                 | {}                               | | Created time                                   | 2026-02-14 07:40:49              | | Accessible .snapshot Folder In Subdirectories  | True                             | | Visible .snapshot Folder In SMB Subdirectories | False                            | | Tenant-id                                      | 1                                | | Enforce TLS to encrypt traffic                 | False                            | | Is-s3-default-policy                           | False                            | | Permission-per-vip-pool                        | {}                               | | Inherit-parent-mode-bits                       | False                            | | Nfs-enforce-tls-relaxed                        | False                            | | Is-block-default-policy                        | False                            | | Nfs-enforce-mtls                               | False                            | +------------------------------------------------+----------------------------------+ ``` ```plaintext vcli: admin> viewpolicy show --id 7 --nfs-acl +-------------------------+----------------------+ | ID                      | 7                    | | Name                    | bgio-mercury:default | | Cluster                 | vast139-var          | | Flavor                  | NFS                  | | Access-flavor           | ALL                  | | Group Membership Source | Client               | | NFS-read-write          | ['*']                | | NFS-read-only           | []                   | | NFS-trash-access        | []                   | | NFS-no-squash           | []                   | | NFS-root-squash         | ['*']                | | NFS-all-squash          | []                   | | NFS-case-insensitivity  | False                | +-------------------------+----------------------+ ```