Lantronix SGX 5150 IoT Device Gateway SGX 5150 Command Reference - Page 12

To con the SGX 5150 IoT device gateway locally using a serial port:

Page 12 highlights

3: Command Line Interface To configure the SGX 5150 IoT device gateway locally using a serial port: 1. Connect a terminal or a PC running a terminal emulation program to one of the gateway's serial ports. 2. Configure the terminal to the following settings:  9600 baud  8-bit  No parity  1 stop bit  No flow control. 3. Power off the gateway. 4. Press and hold down the exclamation point (!) key. 5. Power on the gateway. After about 10 seconds, the exclamation point will display on the terminal or PC screen. 6. 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 line level, type line at the enable prompt. This displays: line #.  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.  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: #show? displays a list of all show commands at the line level.  To view available commands and their explanations for a partial command-Type the partial command followed by the asterisk (*). For example: #show* displays a list of all show commands and descriptions at the line level.  To view the last 20 commands entered at the CLI-Type show history. SGXTM 5150 IoT Device Gateway Command Reference 12

  • 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
  • 222
  • 223
  • 224
  • 225
  • 226
  • 227
  • 228
  • 229
  • 230
  • 231
  • 232
  • 233
  • 234
  • 235
  • 236
  • 237
  • 238
  • 239
  • 240
  • 241
  • 242
  • 243
  • 244
  • 245
  • 246
  • 247
  • 248
  • 249
  • 250
  • 251
  • 252
  • 253
  • 254
  • 255
  • 256
  • 257

3: Command Line Interface
SGX
5150 IoT Device Gateway Command Reference
12
TM
To configure the SGX 5150 IoT device gateway locally using a serial port:
1.
Connect a terminal or a PC running a terminal emulation program to one of the gateway's
serial ports.
2.
Configure the terminal to the following settings:
9600 baud
8-bit
No parity
1 stop bit
No flow control.
3.
Power off the gateway.
4.
Press and hold down the exclamation point (
!
) key.
5.
Power on the gateway. After about 10 seconds, the exclamation point will display on the
terminal or PC screen.
6.
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 line level, type
line <number>
at the enable prompt. This displays:
<enable> line <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.
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:
<line 1>#show?
displays a list of all show
commands at the line level.
To view available commands and their explanations for a partial command—Type the partial
command followed by the asterisk (
*
). For example:
<line 1>#show*
displays a list of all
show commands and descriptions at the line level.
To view the last 20 commands entered at the CLI—Type
show history
.