Quantum DXi-Series Command Line Interface (CLI) Guide
6-67081-02 Rev A
July 2011
NAS Configuration CLI Commands
29
NAS Configuration CLI Commands
The following sections describe the supported NAS configuration CLI
commands:
•
Listing the Existing NAS Share and Attributes
•
Listing of Existing NAS Share Names
•
Getting the Total NAS Share Count
•
•
•
•
•
Joining or Disjoining a Windows Domain
•
•
•
•
•
•
•
•
•
Listing the Existing NAS
Share and Attributes
syscli --list share [{--proto cifs|nfs} | {--name <share name>}] [--
namematch <pattern>]
This CLI command provides a list of all existing NAS shares on the system and
their attributes. The list can be limited to the type of protocol if
--proto
is
specified. If
--name
is specified, only the attributes of that share are listed.
CLI command options:
•
--list
: Lists all NAS shares.
•
*
--namematch
: If specified, only shares whose names match the specified
pattern are listed. The wild characters
^
and
$
are supported as follows:
• ^xxx – matching pattern xxx at the start of names
• xxx$ – matching pattern xxx at the end of names
Remember to escape
$
with a backslash because it is special to the shell. For
example, to list all shares ending with
test
in the names, type the following:
syscli --list sharename --namematch test\$
Note:
Option marked with (
*
) means not supported in Web Services.