5: Commands and Levels
SGX™ 5150 IoT Device Gateway Command Reference 85
Displays the last 20 commands entered during the current CLI session.
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.
Stores the current configuration in permanent memory.
connect (tunnel-connect:1) level commands
Forwards (tunnels) network data in connect mode tunneling.
Discards all data coming in from the connect mode tunnel before forwarding it to the serial
interface (generally used for debugging).
Forwards (tunnels) serial data in connect mode tunneling.
Discards all data coming in from the serial interface before forwarding it to the connect
mode tunnel (generally used for debugging).
Enables the tunneling server to always establish tunneling connections.
connect mode any char-
acter
Enables the tunneling server to establish a tunneling connection when a character is re-
ceived on the corresponding line (serial port).
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.
Restores the default connect mode as 'disable'.
Connects to the first host in the list that accepts the connection.
Uses a random port number as the local port for establishing tunneling connections to oth-
er devices.
Restores the default reconnect time value for connect mode tunneling.
Defaults the connect mode start character.
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.
Returns to the tunnel level.
Characters already in the serial data buffer are retained upon establishing a connect mode
tunneling connection.
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.
Enters the next lower level. Specify the instance for the next lower level.
Connects to the first host in the list that accepts the connection.
Selects simultaneous connections to all hosts on the host list.
Disconnects the active connect mode tunneling connection or connections.
Sets a specific port for use as the local port. <number> = the number of the port to use.
Discontinues sending email alerts upon establishing a connect mode tunnel.