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

usb 1 usb-line:1 level commands, default data bits

Page 251 highlights

6: Commands and Levels default max tries Restores the default connection error threshold. default ping interval Restores the default ping interval. exit Exits to the next higher level. host Sets the host name. = host name to Ping. max tries Sets the connection error threshold. If attempts go unanswered, the device will restart the VPN connection. no host Clears the host name. ping interval Sets the ping interval. show Shows the current configuration. show history Displays the last 20 commands entered during the current CLI session. write Stores the current configuration in permanent memory. usb 1 (usb-line:1) level commands auto show statistics Continuously displays line statistics. baud rate Sets the line speed. = the speed. Standard speeds include 1200, 2400, 4800, 9600, 19200, and so on. bluetooth serial Enters the bluetooth serial level. = number of the Bluetooth SPP line to be configured. clear line counters Sets the serial counters to zero. clrscrn Clears the screen. command mode always Sets the current line to always be in command mode. command mode echo serial Disables user-defined serial boot string to be echoed in the CLI. string disable command mode echo serial Enables user-defined serial boot string to be echoed in the CLI. string enable command mode serial string Enables user to enter a custom string at boot time to enter command mode. command mode serial string Sets a string that can be entered at boot time to enter command mode. = text with possible binary characters. Within [] use binary decimal up to 255 or hex up to 0xFF. Within {} specify decimal milliseconds time delay. command mode signon message Sets a sign-on message that is sent from the serial port when the device boots and when the line is in command mode. = text with possible binary characters. Within [] use binary decimal up to 255 or hex up to 0xFF. command mode wait time Sets boot-up wait time for command mode serial string. = wait time. data bits 7 Uses seven bits for data on the line. data bits 8 Uses eight bits for data on the line. default baud rate Restores the default speed of 115200 bits per second. default data bits Restores the default of eight data bits. default flow control Restores the default of hardware (RTS/CTS) flow control. default line mode Restores the default usb line mode. default parity Restores the default of no parity. default stop bits Restores the default of one stop bit. default threshold Restores the factory default threshold. default xoff char Restores the default xoff character on this line. default xon char Restores the default xon character on this line. exit Exits to the enable level flow control hardware Uses hardware (RTS/CTS) flow control on the line. flow control none Does not provide flow control on the line. flow control software Uses software (xon/xoff characters) flow control on the line. gap timer Sets the gap timer in milliseconds. If some data has been received, it will be forwarded after this time since the last character. interface usb-cdc-acm Sets the usb line interface to USB-CDC-ACM. kill session Kills command mode session on the Line line Enters the line level. = number of the line (serial port) to be configured. line mode ethernet device Sets the usb line to ethernet device mode. SGX™ 5150 IoT Device Gateway Command Reference 251

  • 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

6:
Commands and Levels
SGX™ 5150 IoT Device Gateway Command Reference
251
default max tries
Restores the default connection error threshold.
default ping interval
Restores the default ping interval.
exit
Exits to the next higher level.
host
<text>
Sets the host name. <text> = host name to Ping.
max tries
<number>
Sets the connection error threshold. If <pings> attempts go unanswered, the device
will restart the VPN connection.
no host
Clears the host name.
ping interval
<minutes>
Sets the ping interval.
show
Shows the current configuration.
show history
Displays the last 20 commands entered during the current CLI session.
write
Stores the current configuration in permanent memory.
usb 1 (usb-line:1) level commands
auto show statistics
Continuously displays line statistics.
baud rate
<bits per second>
Sets the line speed. <bits per second> = the speed. Standard speeds include 1200,
2400, 4800, 9600, 19200, and so on.
bluetooth serial
<line>
Enters the bluetooth serial level. <line> = number of the Bluetooth SPP line to be
configured.
clear line counters
Sets the serial counters to zero.
clrscrn
Clears the screen.
command mode always
Sets the current line to always be in command mode.
command mode echo serial
string disable
Disables user-defined serial boot string to be echoed in the CLI.
command mode echo serial
string enable
Enables user-defined serial boot string to be echoed in the CLI.
command mode serial string
Enables user to enter a custom string at boot time to enter command mode.
command mode serial string
<string>
Sets a string that can be entered at boot time to enter command mode. <string> =
text with possible binary characters. Within [] use binary decimal up to 255 or hex up
to 0xFF. Within {} specify decimal milliseconds time delay.
command mode signon
message
<string>
Sets a sign-on message that is sent from the serial port when the device boots and
when the line is in command mode. <string> = text with possible binary characters.
Within [] use binary decimal up to 255 or hex up to 0xFF.
command mode wait time
<milliseconds>
Sets boot-up wait time for command mode serial string. <milliseconds> = wait time.
data bits 7
Uses seven bits for data on the line.
data bits 8
Uses eight bits for data on the line.
default baud rate
Restores the default speed of 115200 bits per second.
default data bits
Restores the default of eight data bits.
default flow control
Restores the default of hardware (RTS/CTS) flow control.
default line mode
Restores the default usb line mode.
default parity
Restores the default of no parity.
default stop bits
Restores the default of one stop bit.
default threshold
Restores the factory default threshold.
default xoff char
Restores the default xoff character on this line.
default xon char
Restores the default xon character on this line.
exit
Exits to the enable level
flow control hardware
Uses hardware (RTS/CTS) flow control on the line.
flow control none
Does not provide flow control on the line.
flow control software
Uses software (xon/xoff characters) flow control on the line.
gap timer
<milliseconds>
Sets the gap timer in milliseconds. If some data has been received, it will be
forwarded after this time since the last character.
interface usb-cdc-acm
Sets the usb line interface to USB-CDC-ACM.
kill session
Kills command mode session on the Line
line
<line>
Enters the line level. <line> = number of the line (serial port) to be configured.
line mode ethernet device
Sets the usb line to ethernet device mode.