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

List of Global Action Commands

Page 44 highlights

4.1 List of Global Action Commands Global action commands help you navigate through the set of contexts, and perform controland configuration-related activities, such as piping output, setting operating modes, navigating contexts, and executing operating system functions. Table 4-1 lists the global action commands in alphabetical order, and includes a description of the command and a link to the section that describes each command. The global action commands are described in detail, with examples, in the sections shown in the See Section column. Table 4-1. Global Action Commands Command Do Echo Execute Exit Help List Mode Pop Push RequireArgs Select Set ShiftArgs Show System Description Performs a command in the current context. Echoes command lines to Standard Out (STDOUT). Executes a CLI script file. Ends the current CLI session. Displays all of the global and context-specific commands that the CLI supports. Displays a brief list of current context properties and methods. Sets the session operating modes. Returns to the context that was last pushed. Saves the current context on a last-in-first-out (LIFO) stack and changes context. Advanced feature intended for script files. Changes contexts. Sets a property in the current context. Advanced feature intended for script files. Shows a property in the current context. Invokes a system shell command (equivalent to typing the prefix !). See Section 4.2 4.2.2 4.2.3 4.2.4 4.2.5 4.2.6 3.2 and 4.2.7 4.2.8 4.2.9 4.2.10 4.2.11 4.2.12 4.2.13 4.1.14 4.2.15 34 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

34
Chapter 4
Global Action Commands
4.1
List of Global Action Commands
Global action commands help you navigate through the set of contexts, and perform control-
and configuration-related activities, such as piping output, setting operating modes,
navigating contexts, and executing operating system functions.
Table 4-1 lists the global action commands in alphabetical order, and includes a description
of the command and a link to the section that describes each command. The global action
commands are described in detail, with examples, in the sections shown in the See Section
column.
Table 4-1. Global Action Commands
Command
Description
See Section
Do
Performs a command in the current context.
4.2
Echo
Echoes command lines to Standard Out (STDOUT).
4.2.2
Execute
Executes a CLI script file.
4.2.3
Exit
Ends the current CLI session.
4.2.4
Help
Displays all of the global and context-specific commands that the CLI supports.
4.2.5
List
Displays a brief list of current context properties and methods.
4.2.6
Mode
Sets the session operating modes.
3.2 and 4.2.7
Pop
Returns to the context that was last pushed.
4.2.8
Push
Saves the current context on a last-in-first-out (LIFO) stack and changes context.
4.2.9
RequireArgs
Advanced feature intended for script files.
4.2.10
Select
Changes contexts.
4.2.11
Set
Sets a property in the current context.
4.2.12
ShiftArgs
Advanced feature intended for script files.
4.2.13
Show
Shows a property in the current context.
4.1.14
System
Invokes a system shell command (equivalent to typing the prefix
!
).
4.2.15