D-Link DSN-540 CLI User's Guide for DSN-1100-10 - Page 49

Mode streamMode Mixed_STDOUT_STDERR

Page 49 highlights

For more information, see section 3.2. Syntax Mode outputMode [Normal | XML | FormattedXML] Mode indicationMode [Enabled | Disabled] Mode streamMode [Mixed_STDOUT_Only | Mixed_STDOUT_STDERR] Mode completionCodeMode [Always | ErrorsOnly] Mode echoCommandMode [Enabled | Disabled] Mode exitScriptOnError [Enabled | Disabled] Examples Mode outputMode Normal CLI output is displayed in human-readable format. Mode outputMode XML CLI output is nested together as XML, with XML tags. Mode outputMode FormattedXML CLI output is nested together as XML, with XML tags. Mode indicationMode Enabled Enables indication mode, which displays messages of changes made to the system as a result of commands executed by you and other CLI users. Mode indicationMode Disabled Disables indication mode. Mode streamMode Mixed_STDOUT_Only Enables stream mode, directing all output to STDOUT. Mode streamMode Mixed_STDOUT_STDERR Disables stream mode, directing error messages to STDERR and all other output to STDOUT. Mode completionCodeMode Always Enable completion code mode - return a completion code with each command line. Mode completionCodeMode ErrorsOnly Disable completion code mode - return a completion code only when a command line has an error. Mode echoCommandMode Enabled Enable echo command mode - repeats every command line character you type. Mode echoCommandMode Disabled Disable echo command mode - do not repeat every command line character you type. Mode exitScriptOnError Enabled Enable exit script on error - the CLI exits the script if an error is encountered. Mode exitScriptOnError Disabled Disable exit script on error - the CLI doe not exit the script if an error is encountered. Help Mode Displays help for the Mode command. Command Line Interface User's Guide 39

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97

Command Line Interface User’s Guide
39
For more information, see section 3.2.
Syntax
Mode outputMode [Normal | XML | FormattedXML]
Mode indicationMode [Enabled | Disabled]
Mode streamMode [Mixed_STDOUT_Only | Mixed_STDOUT_STDERR]
Mode
completionCodeMode
[Always | ErrorsOnly]
Mode echoCommandMode
[Enabled | Disabled]
Mode exitScriptOnError
[Enabled | Disabled]
Examples
°
Mode outputMode Normal
CLI output is displayed in human-readable format.
°
Mode outputMode XML
CLI output is nested together as XML, with XML tags.
°
Mode outputMode FormattedXML
CLI output is nested together as XML, with XML tags.
°
Mode indicationMode Enabled
Enables indication mode, which displays messages of changes made to the system as a
result of commands executed by you and other CLI users.
°
Mode indicationMode Disabled
Disables indication mode.
°
Mode streamMode Mixed_STDOUT_Only
Enables stream mode, directing all output to STDOUT.
°
Mode streamMode Mixed_STDOUT_STDERR
Disables stream mode, directing error messages to STDERR and all other output to
STDOUT.
°
Mode completionCodeMode Always
Enable completion code mode – return a completion code with each command line.
°
Mode completionCodeMode ErrorsOnly
Disable completion code mode – return a completion code only when a command line has
an error.
°
Mode echoCommandMode Enabled
Enable echo command mode – repeats every command line character you type.
°
Mode echoCommandMode Disabled
Disable echo command mode – do not repeat every command line character you type.
°
Mode exitScriptOnError Enabled
Enable exit script on error – the CLI exits the script if an error is encountered.
°
Mode exitScriptOnError Disabled
Disable exit script on error – the CLI doe not exit the script if an error is encountered.
°
Help Mode
Displays help for the
Mode
command.