Index  |  Top  -  Up Data ONTAP 8.2

vserver export-policy rule show

Display a list of rules

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

Description

The vserver export-policy rule show command displays information about export rules. 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: To display detailed information about a specific export rule, run the command with the -vserver, -policyname, and -ruleindex parameters. The detailed view provides all of the information in the previous list and the following additional information: You can specify additional parameters to display only the information that matches those parameters. For example, to display information only about export rules that have a read-write rule value of never, run the command with the -rwrule never parameter.

Parameters

{  [-fields <fieldname>, ...]

If you specify the -fields 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 -policyname parameter, and the -ruleindex parameter, the command displays detailed information about the specified export rule. If you specify this parameter by itself, the command displays information only about the export rules on the specified Vserver.

[-policyname <text>] - Policy Name

If you specify this parameter, the -vserver parameter, and the -ruleindex parameter, the command displays detailed information about the specified export rule. If you specify this parameter by itself, the command displays information only about the export rules on the specified policy.

[-ruleindex <integer>] - Rule Index

If you specify this parameter, the -vserver parameter, and the -policyname parameter, the command displays detailed information about the specified export rule. If you specify this parameter by itself, the command displays information only about the export rules that have the specified index number.

[-protocol {any|nfs3|nfs|cifs|nfs4|flexcache}, ...] - Access Protocol

If you specify this parameter, the command displays information only about the export rules that have the specified access protocol or protocols. Possible values include the following: You can specify a comma-separated list of multiple access protocols for an export rule. If you specify the protocol as any, you cannot specify any other protocols in the list.

[-clientmatch <text>] - Client Match Hostname, IP Address, Netgroup, or Domain

If you specify this parameter, the command displays information only about the export rules that have the specified client match. You can specify the match in any of the following formats:

[-rorule {any|none|never|krb5|ntlm|sys}, ...] - RO Access Rule

If you specify this parameter, the command displays information only about the export rule or rules that have the specified read-only rule. Possible values include the following: You can specify a comma-separated list of multiple security types for an export rule. If you specify the security type as any or never, you cannot specify any other security types.
Note:

[-rwrule {any|none|never|krb5|ntlm|sys}, ...] - RW Access Rule

If you specify this parameter, the command displays information only about the export rule or rules that have the specified read-write rule. Possible values include the following: You can specify a comma-separated list of multiple security types for an export rule. If you specify the security type as any or never, you cannot specify any other security types.
Note:

[-anon <text>] - User ID To Which Anonymous Users Are Mapped

If you specify this parameter, the command displays information only about the export rule or rules that have the specified anonymous ID.

[-superuser {any|none|never|krb5|ntlm|sys}, ...] - Superuser Security Types

If you specify this parameter, the command displays information only about the export rule or rules that have the specified superuser security type. Possible values include the following: You can specify a comma-separated list of multiple security types for superuser access. If you specify the security type as any, you cannot specify any other security types.
Note:

[-allow-suid {true|false}] - Honor SetUID Bits in SETATTR

If you specify this parameter, the command displays information only about the export rule or rules that have the specified setting for set user ID (suid) and set group ID (sgid) access.

[-allow-dev {true|false}] - Allow Creation of Devices

If you specify this parameter, the command displays information only about the export rule or rules that have the specified setting for the creation of devices.

[-ntfs-unix-security-ops {ignore|fail}] - NTFS Unix Security Options (privilege: advanced)

If you specify this parameter, the command displays information only about the export rule or rules that have the specified setting for the Vserver. The setting can either prohibit (fail) or allow (ignore) UNIX-type permissions changes on NTFS (Windows) volumes when the request originates from an NFS client.

[-ntfs-unix-security-ops-vs <NfsNtfsUnixSecOps>] - Vserver NTFS Unix Security Options (privilege: advanced)

If you specify this parameter, the command displays information only about the export rule or rules that have the specified setting for the Vserver. The setting can either prohibit (fail) or allow (ignore) UNIX-type permissions changes on NTFS (Windows) volumes when the request originates from an NFS client.

[-chown-mode {restricted|unrestricted}] - Change Ownership Mode (privilege: advanced)

If you specify this parameter, the command displays information only about the export rule or rules that have the specified change ownership mode.

[-chown-mode-vs {restricted|unrestricted|use-export-policy}] - Vserver Change Ownership Mode (privilege: advanced)

If you specify this parameter, the command displays information only about the Vservers that have the specified change ownership mode setting.

Examples

The following example displays information about all export rules:
vs1::> vserver export-policy rule show
	     Policy             Rule    Access   Client       RO
Vserver      Name               Index   Protocol Match        Rule
------------ ------------------ ------  -------- ------------ ------
vs0          default_expolicy   1       any      0.0.0.0/0    any
vs0          read_only_expolicy 2       any      0.0.0.0/0    any
vs1          default_expolicy   1       any      0.0.0.0/0    any
vs1          test_expolicy      1       any      0.0.0.0/0    any
4 entries were displayed.

Index  |  Top  -  Up Data ONTAP 8.2

Copyright © 1994-2013 NetApp, Inc. Legal Information