5: Commands and Levels
SGX™ 5150 IoT Device Gateway Command Reference
364
vice
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 si-
gnon 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 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 dec-
imal 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 dec-
imal 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.
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.