Lantronix EDS8PS EDS - Command Reference - Page 10

Navigating the CLI Hierarchy, Using Keyboard Shortcuts and CLI, Command Line Interface

Page 10 highlights

3: Command Line Interface To configure the Lantronix device server locally using a serial port, connect a terminal or a PC running a terminal emulation program to one of the device server's serial ports. Configure the terminal for 9600 baud, 8-bit, no parity, 1 stop bit, and no flow control. 1. Power off the device. 2. Press and hold down the exclamation point (!) key. 3. Power on the device. The exclamation point displays on the terminal or PC screen. 4. Type xyz within 5 seconds to display the CLI prompt. Navigating the CLI Hierarchy The CLI is organized into a hierarchy of levels. Each level has a group of commands for a specific purpose. For example, to configure a setting for the FTP server, one would navigate to the FTP level, which is under the configuration level.  To move to a different level-Enter the name of the level from within its parent level. For example, to enter the tunnel level, type tunnel at the enable prompt. This displays: tunnel #.  To exit and return to one level higher-Type exit and press the Enter key. Typing exit at the login level or the enable level will close the CLI session. If Line - Command Mode is specified as Always, a new session starts immediately.  To view the current configuration at any level-Type show.  To view the list of commands available at the current level-Type the question mark "?". Items within < > (e.g. ) are required parameters.  To view the available commands and explanations-Type the asterisk ( *).  To view the list of commands available for a partial command-Type the partial command followed by the question mark "?". For example: #echo? displays a list of all echo commands at the tunnel level.  To view available commands and their explanations for a partial command-Type the partial command followed by the asterisk ( *). For example: #echo* displays a list of all echo commands and descriptions at the tunnel level.  To view the last 20 commands entered at the CLI-Type show history. Using Keyboard Shortcuts and CLI One useful shortcut built into Evolution OS™ is that the complete text of a command does not have to be entered to issue a command. Typing just enough characters to uniquely identify a command, then hitting enter, can be used as a short cut for a command. For example, at the enable level, "sh" can be used for the "show" command. Tab Completion is also available. Typing the first few characters of a command, then hitting the key displays the first command that begins with those characters. Hitting the key again displays the next command that begins with the original characters typed. You can press to execute the command or you can backspace to edit any parameters. The following key combinations are allowed when configuring the device server using the CLI:  Ctrl + a: place cursor at the beginning of a line EDS Command Reference 10

  • 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
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216
  • 217
  • 218
  • 219
  • 220
  • 221

3: Command Line Interface
EDS Command Reference
10
To configure the Lantronix device server locally using a serial port, connect a terminal or a PC
running a terminal emulation program to one of the device server's serial ports. Configure the
terminal for 9600 baud, 8-bit, no parity, 1 stop bit, and no flow control.
1.
Power off the device.
2.
Press and hold down the exclamation point (!) key.
3.
Power on the device. The exclamation point displays on the terminal or PC screen.
4.
Type
xyz
within 5 seconds to display the CLI prompt.
Navigating the CLI Hierarchy
The CLI is organized into a hierarchy of levels. Each level has a group of commands for a specific
purpose. For example, to configure a setting for the FTP server, one would navigate to the FTP
level, which is under the configuration level.
To move to a different level—Enter the name of the level from within its parent level. For
example, to enter the tunnel level, type tunnel <number> at the enable prompt. This displays:
<enable> tunnel <number>#.
To exit and return to one level higher—Type
exit
and press the Enter key. Typing exit at the
login level or the enable level will close the CLI session.
If Line — Command Mode is
specified as Always, a new session starts immediately.
To view the current configuration at any level—Type
show
.
To view the list of commands available at the current level—Type the question mark "?". Items
within < > (e.g. <string>) are required parameters.
To view the available commands and explanations—Type the asterisk ( *).
To view the list of commands available for a partial command—Type the partial command
followed by the question mark "?". For example: <tunnel-1>#echo? displays a list of all echo
commands at the tunnel level.
To view available commands and their explanations for a partial command—Type the partial
command followed by the asterisk ( *). For example: <tunnel-1>#echo* displays a list of all
echo commands and descriptions at the tunnel level.
To view the last 20 commands entered at the CLI—Type
show history
.
Using Keyboard Shortcuts and CLI
One useful shortcut built into Evolution OS™ is that the complete text of a command does not
have to be entered to issue a command. Typing just enough characters to uniquely identify a
command, then hitting enter, can be used as a short cut for a command. For example, at the
enable level, "sh" can be used for the "show" command.
Tab Completion is also available. Typing the first few characters of a command, then hitting the
<tab> key displays the first command that begins with those characters.
Hitting the <tab> key
again displays the next command that begins with the original characters typed.
You can press
<Enter> to execute the command or you can backspace to edit any parameters.
The following key combinations are allowed when configuring the device server using the CLI:
Ctrl + a
: place cursor at the beginning of a line