5: Commands and Levels
SGX™ 5150 IoT Device Gateway Command Reference
311
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.
line 1 (config-mach10-line:1) level commands
clrscrn
Clears the screen.
command delimiter
<text>
Sets the command delimiter.
content check interval
<hours>
Sets the firmware and configuration check interval.
default command delim-
iter
Restores the command delimiter.
default content check
interval
Restores the default firmware and configuration check interval.
default local port
Clears the local port for Mach10 client.
default status update
interval
Restores the default status update interval.
exit
Exits to the config-mach10 level.
line
<number>
Change to line configuration level.
local port
<number>
Sets the local port for Mach10 client. When configured, a total of 16 consecutive ports will
be reserved.
no project tag
Restores the default Project Tag.
project tag
<text>
Sets the Project Tag.
show
Displays the current configuration.
show history
Displays the last 20 commands entered during the current CLI session.
state disable
Disables command processing on line.
state enable
Enables command processing on line.
status update interval
<minutes>
Sets the status update interval.
write
Stores the current configuration in permanent memory.
line 2 (line:2) level commands
auto show statistics
Continuously displays line statistics.
baud rate
<bits per sec-
ond>
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 line (bluetooth serial port) 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.