
26
Chapter 3 Using the CLI
By default, completion code mode returns a message when the command line has one or
more errors. To enable completion codes for all command lines, type:
Mode
completionCodeMode
Always
To display completion codes only when an error occurs, type:
Mode
completionCodeMode
ErrorsOnly
3.2.5
Echo Command Mode
Echo command mode repeats everything you type. In the following example, echo command
mode repeated the command typed next to the IP address.
192.168.59.25 :: Mode EchoCommandMode Enabled
←
typed by user
Mode EchoCommandMode Enabled
←
returned by CLI
By default, echo command mode is disabled To enable it, type:
Mode echoCommand Enabled
To disable echo command mode, type:
Mode
EchoCommand Disabled
3.2.6
Exit Script on Error Mode
Exit script on error mode allows the CLI to exit a script automatically if the CLI encounters
an error in the script. This mode is useful when running the CLI from a shell script.
By default, exit script on error mode is enabled To disable it, type:
Mode ExitScriptonError Disabled
To enable exit script on error mode, type:
Mode ExitScriptonError Enabled
Содержание xStack Storage DSN-4000 Series
Страница 6: ...vi Preface...
Страница 42: ...32 Chapter 3 Using the CLI This Page Left Intentionally Blank...
Страница 56: ...46 Chapter 4 Global Action Commands This Page Left Intentionally Blank...
Страница 86: ...76 Chapter 5 Supported CLI Commands and Properties This Page Left Intentionally Blank...
Страница 97: ......