Chapter Two: Command Set
7
Chapter 2 Command Set

Command Set

The CLI design being similar to the DMTF SMASH specifications follows the standard to a g reat extent. The
commands supported can be represented grammatically as follows:
<verb> <option> … <property> <target>
The CLI provides a wide range of command sets. These commands are grouped into modules for bet ter
understanding. Each command is non-interactive and state-less. The <options> are supported using sw itches.
Our CLI accepts both short and long options for each switch to make it user-friendly. If there is a ny error in
the parameters entered, the CLI will display the usage of that particular command.
CLI also provides extensive online help. Each command supports a help option using ‘-h’ or
‘--help’ that will display the grammar of the command.
To get the main list of targets or modules present in CLI, the user should type the command “main” at the
CLI prompt.
The following targets will get displayed:
*****************************************************************
TARGET LIST
-----------------------------------------------------------------
1. ug 2. ups
3. dir 4. srm
5. dump 6. raid
7. ndmp 8. alert
9. iscsi 10. share
11. quota 12. system
13. volume 14. domain
15. health 16. license
17. network 18. journal
19. eventlog 20. protocol
21. firewall 22. datetime
23. timezone 24. serverinfo
25. sysupgrade 26. syncreplica
27. asyncreplica 28. recoverywizard
29. snapvalidation
For more information on the targets please use the following command
show -t/--target <targetname>
Note : Targetnames are case insensitive
Example :
show -t iscsi
*****************************************************************
The show option can also be used to show commands based on <verb>, and to display the list of targets or
verbs available.