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

Syntax, Examples

Page 48 highlights

4.2.6 List Use the List command to list the current contexts and their properties (see the example below). Syntax List Examples List Displays a list of current contexts and properties. Help List Displays help for the List command. 4.2.7 Mode Use the Mode command to set the CLI operating modes. Operating modes that can be set with this command include: Output mode - configures the output format from the CLI as human-readable, XML, or formatted XML. Indication mode - displays messages when changes made to the system as a result of commands executed by you and other CLI users. Stream mode - configures the CLI to either output error messages to STDERR and all other output to STDOUT, or direct all output (including error messages) to STDOUT. Completion code mode - configures the CLI to return a confirmation message each time it executes (or tries to execute) a command line. Echo command mode - repeats every character you type. Exit script on error mode - lets the CLI exit a script automatically if the CLI encounters an error in the script. 38 Chapter 4 Global Action Commands

  • 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

38
Chapter 4
Global Action Commands
4.2.6
List
Use the
List
command to list the current contexts and their properties (see the example
below).
Syntax
List
Examples
°
List
Displays a list of current contexts and properties.
°
Help List
Displays help for the
List
command.
4.2.7
Mode
Use the
Mode
command to set the CLI operating modes. Operating modes that can be set
with this command include:
°
Output mode – configures the output format from the CLI as human-readable, XML, or
formatted XML.
°
Indication mode – displays messages when changes made to the system as a result of
commands executed by you and other CLI users.
°
Stream mode – configures the CLI to either output error messages to STDERR and all
other output to STDOUT, or direct all output (including error messages) to STDOUT.
°
Completion code mode –
configures the CLI to return a confirmation message each time it
executes (or tries to execute) a command line.
°
Echo command mode – repeats every character you type.
°
Exit script on error mode - lets the CLI exit a script automatically if the CLI encounters
an error in the script.