5: Commands and Levels
SGX™ 5150 IoT Device Gateway Command Reference
82
connect mode disable
Disables connect mode tunneling.
connect mode modem
control asserted
Enables the tunneling server to make tunneling connections when the modem control pin is
asserted.
connect mode modem
emulation
Enables modem emulation for connect mode tunneling.
connect mode start char-
acter
Enables connect mode tunneling when the configured start character is received on the
line.
default connect mode
Restores the default connect mode as 'disable'.
default host mode
Connects to the first host in the list that accepts the connection.
default local port
Uses a random port number as the local port for establishing tunneling connections to oth-
er devices.
default reconnect time
Restores the default reconnect time value for connect mode tunneling.
default start character
Defaults the connect mode start character.
email connect
<number>
Sets an email profile to use to send an email alert upon establishing a connect mode tun-
nel. <number> = the number of the email profile to use.
email disconnect
<num-
ber>
Sets an email profile to use to send an email alert upon closing a connect mode tunnel.
<number> = the number of the email profile to use.
exit
Returns to the tunnel level.
flush serial disable
Characters already in the serial data buffer are retained upon establishing a connect mode
tunneling connection.
flush serial enable
Flushes the serial data buffer upon establishing a connect mode tunneling connection.
flush start character dis-
able
Enables forwarding of the connect start character into the network.
flush start character ena-
ble
Disables forwarding of the connect start character into the network.
host
<instance>
Enters the next lower level. Specify the instance for the next lower level.
host mode sequential
Connects to the first host in the list that accepts the connection.
host mode simultaneous Selects simultaneous connections to all hosts on the host list.
kill connection
Disconnects the active connect mode tunneling connection or connections.
local port
<number>
Sets a specific port for use as the local port. <number> = the number of the port to use.
no email connect
Discontinues sending email alerts upon establishing a connect mode tunnel.
no email disconnect
Discontinues sending email alerts upon closing a connect mode tunnel.
promote host
<number>
Promotes the identified host, exchanging it place with the host above it, to adjust the order
of the defined hosts.
reconnect time
<millisec-
onds>
Sets the reconnect time value for tunneling connections established by the device in milli-
seconds. <milliseconds> = timeout in milliseconds.
show
Displays the current configuration.
show history
Displays the last 20 commands entered during the current CLI session.
show status
Displays tunnel connect status.
start character
<control>
Sets the connect mode start character. The character may be input as text, control, deci-
mal, 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.
write
Stores the current configuration in permanent memory.
connect (tunnel-connect:3) level commands
block network disable
Forwards (tunnels) network data in connect mode tunneling.
block network enable
Discards all data coming in from the connect mode tunnel before forwarding it to the serial
interface (generally used for debugging).
block serial disable
Forwards (tunnels) serial data in connect mode tunneling.