D-Link DSN-5210-10 - xStack Storage Area Network Array Hard Drive Cli User's Manual - Contents
Command Line Interface User’s Guide
vii
Contents
Chapter 1 Introduction ............................................................................................................................ 1
1.1
Contexts ............................................................................................. 2
1.2
Commands .......................................................................................... 3
1.3
Properties ........................................................................................... 4
1.4
Understanding the CLI Hierarchy ............................................................... 4
1.5
Members ............................................................................................ 6
1.6
Enumerators ........................................................................................ 6
1.7
Special Keywords .................................................................................. 6
Chapter 2 Installing the CLI..................................................................................................................... 7
2.1
Supported Operating Systems ................................................................... 8
2.2
Installing the CLI .................................................................................. 8
2.3
Starting the CLI ................................................................................... 14
2.3.1
Using the CLI Shortcut to Start the CLI ............................................. 14
2.3.2
Using the Run Command to Start the CLI ........................................... 15
2.4
Exiting the CLI .................................................................................... 18
2.5
Removing the CLI ................................................................................. 18
Chapter 3 Using the CLI ........................................................................................................................ 19
3.1
General Guidelines ............................................................................... 20
3.1.1
Understanding Commands ............................................................. 20
3.1.2
Global Action Commands .............................................................. 20
3.1.3
Context-Specific Commands .......................................................... 20
3.1.4
Abbreviating Commands ............................................................... 20
3.1.5
Editing Command Lines ................................................................ 21
3.1.6
Concatenating Commands ............................................................. 21
3.1.7
Referencing Root Items ................................................................ 21
3.2
Specifying Operating Modes .................................................................... 22
3.2.1
Output Mode ............................................................................. 23
3.2.2
Indication Mode ......................................................................... 24
3.2.3
Stream Mode ............................................................................. 25
3.2.4
Completion Code Mode ................................................................ 25
3.2.5
Echo Command Mode ................................................................... 26
3.2.6
Exit Script on Error Mode .............................................................. 26
3.3
Command Line Syntax ........................................................................... 27
3.4
Getting Help with CLI Commands ............................................................. 28
3.4.1
Help Summary ........................................................................... 28
3.4.2
Command Help .......................................................................... 30
3.4.3
Advanced Scripting Concepts ......................................................... 31
Chapter 4 Global Action Commands .................................................................................................... 33
4.1
List of Global Action Commands ............................................................... 34
4.2
Description of Global Action Commands ..................................................... 35
4.2.1
Do .......................................................................................... 35
4.2.2
Echo ....................................................................................... 36
4.2.3
Execute ................................................................................... 36
4.2.4
Exit ........................................................................................ 37
4.2.5
Help ....................................................................................... 37
4.2.6
List ......................................................................................... 38