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

Contents

Page 7 highlights

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 Command Line Interface User's Guide vii

  • 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
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