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

usb0 link state change config-action:usb0 link state change level commands

Page 252 highlights

6: Commands and Levels line mode host Sets the usb line to host mode. line mode serial device Sets the usb line to serial device mode. name Sets the name for this usb line. no clear line counters Restores the serial counters to the aggregate values. no command mode Disables command mode for the current line. no command mode signon message Clears the signon message displayed at boot time and when entering command mode. no gap timer Removes the gap timer, so forwarding depends on the usb line speed. no name Removes the name of this usb line. parity even Uses a parity bit on the line for even parity. parity none Does not use a parity bit on the line. parity odd Uses a parity bit on the line for odd parity. protocol managed device Applies Modbus ASCII protocol on the usb line. protocol none Uses no protocol on the usb line. protocol tunnel Applies Modbus RTU protocol on the usb line. show Displays the current status. show command mode Shows the command mode settings for the current line. show history Displays the last 20 commands entered during the current CLI session. show statistics Shows the line statistics. show usb line Displays the current configuration. state disable Disables the usb line so data cannot be sent/received. state enable Enables the usb line so data can be sent/received. stop bits 1 Uses one stop bit after data on the line. stop bits 2 Uses two stop bits after data on the line. terminal Enters the configure-terminal level. = number of the terminal line (serial port) to be configured. terminal network Enters the configure-terminal level for the network. threshold Sets the threshold in bytes. After this many bytes are received, they are forwarded without delay. tunnel Enters the tunnel level. = number of the tunnel line (serial port) to be configured. usb Enters the usb level. = number of the line (usb port) to be configured. write Stores the current configuration in permanent memory. xoff char Sets the xoff character for use with software flow control on this line. The character may be input as text, control, decimal, or hex. A control character has the form C. A decimal value character has the form \99. A hex value character has the form 0xFF. xon char Sets the xon character for use with software flow control on this line. The character may be input as text, control, decimal, or hex. A control character has the form C. A decimal value character has the form \99. A hex value character has the form 0xFF. usb0 link state change (config-action:usb0 link state change) level commands clrscrn Clears the screen. default delay Resets alarm processing delay to its default value. delay Sets the delay in processing the alarm. Alarm actions will not be executed if the cause is corrected within this time. email Enters the next lower level. exit Exits to the config alarm level. ftp put Enters the next lower level. http post Enters the next lower level. show Displays the current configuration. show history Displays the last 20 commands entered during the current CLI session. show status Displays statistics. snmp trap Enters the next lower level. SGX™ 5150 IoT Device Gateway Command Reference 252

  • 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
252
line mode host
Sets the usb line to host mode.
line mode serial device
Sets the usb line to serial device mode.
name
<text>
Sets the name for this usb line.
no clear line counters
Restores the serial counters to the aggregate values.
no command mode
Disables command mode for the current line.
no command mode signon
message
Clears the signon message displayed at boot time and when entering command
mode.
no gap timer
Removes the gap timer, so forwarding depends on the usb line speed.
no name
Removes the name of this usb line.
parity even
Uses a parity bit on the line for even parity.
parity none
Does not use a parity bit on the line.
parity odd
Uses a parity bit on the line for odd parity.
protocol managed device
Applies Modbus ASCII protocol on the usb line.
protocol none
Uses no protocol on the usb line.
protocol tunnel
Applies Modbus RTU protocol on the usb line.
show
Displays the current status.
show command mode
Shows the command mode settings for the current line.
show history
Displays the last 20 commands entered during the current CLI session.
show statistics
Shows the line statistics.
show usb line
Displays the current configuration.
state disable
Disables the usb line so data cannot be sent/received.
state enable
Enables the usb line so data can be sent/received.
stop bits 1
Uses one stop bit after data on the line.
stop bits 2
Uses two stop bits after data on the line.
terminal
<line>
Enters the configure-terminal level. <line> = number of the terminal line (serial port)
to be configured.
terminal network
Enters the configure-terminal level for the network.
threshold
<bytes>
Sets the threshold in bytes. After this many bytes are received, they are forwarded
without delay.
tunnel
<line>
Enters the tunnel level. <line> = number of the tunnel line (serial port) to be
configured.
usb
<line>
Enters the usb level. <line> = number of the line (usb port) to be configured.
write
Stores the current configuration in permanent memory.
xoff char
<control>
Sets the xoff character for use with software flow control on this line. The character
may be input as text, control, decimal, or hex. A control character has the form
<control>C. A decimal value character has the form \99. A hex value character has
the form 0xFF.
xon char
<control>
Sets the xon character for use with software flow control on this line. The character
may be input as text, control, decimal, or hex. A control character has the form
<control>C. A decimal value character has the form \99. A hex value character has
the form 0xFF.
usb0 link state change (config-action:usb0 link state change) level commands
clrscrn
Clears the screen.
default delay
Resets alarm processing delay to its default value.
delay
<seconds>
Sets the delay in processing the alarm. Alarm actions will not be executed if the
cause is corrected within this time.
email
Enters the next lower level.
exit
Exits to the config alarm level.
ftp put
Enters the next lower level.
http post
Enters the next lower level.
show
Displays the current configuration.
show history
Displays the last 20 commands entered during the current CLI session.
show status
Displays statistics.
snmp trap
Enters the next lower level.