5: Commands and Levels
SGX™ 5150 IoT Device Gateway Command Reference
69
enable
secure protocols tls1.0
disable
Disables the protocol.
secure protocols tls1.0
enable
Enables the protocol.
secure protocols tls1.1
disable
Disables the protocol.
secure protocols tls1.1
enable
Enables the protocol.
secure protocols tls1.2
disable
Disables the protocol.
secure protocols tls1.2
enable
Enables the protocol.
show
Displays the current configuration.
show history
Displays the last 20 commands entered during the current CLI session.
show status
Displays tunnel accept status.
start character
<control>
Sets the accept mode start character. 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.
tcp keep alive
<millisec-
onds>
Sets the TCP keep alive time. This is the initial keep alive timeout. <milliseconds> = timer
value, in milliseconds.
tcp keep alive interval
<milliseconds>
Enables TCP keep alive for accept mode tunneling and sets the timer. <milliseconds> =
TCP keep alive for accept mode in milliseconds.
tcp keep alive probes
<number>
Sets the number of TCP keep alive probes. <number> = number of TCP keep alive probes.
write
Stores the current configuration in permanent memory.
accept (tunnel-accept:2) level commands
accept mode always
Enables the tunneling server to always accept tunneling connections.
accept mode any charac-
ter
Enables the tunneling server to accept tunneling connections only when a character is re-
ceived through the corresponding line (serial port).
accept mode disable
Disables accept mode tunneling.
accept mode modem
control asserted
Enables the tunneling server to accept tunneling connections when the modem control pin
is asserted.
accept mode modem
emulation
Enables modem emulation for accept mode tunneling.
accept mode start char-
acter
Enables accept mode tunneling when the configured start character is received on the line.
aes decrypt key
<hexa-
decimal>
Sets the accept tunnel AES decrypt key with up to 16 bytes. Each byte is represented by
two adjacent hex digits. Bytes may run together or be separated by optional punctuation:
123ABC "12 3A BC" 12,3A,BC 12.3a.bc 12:3a:bc Note that quotes must enclose the value
if it contains spaces.
aes decrypt key text
<text>
Sets the accept tunnel AES decrypt key with up to 16 bytes. Each byte is represented by a
single character. Note that quotes must enclose the value if it contains spaces.
aes encrypt key
<hexa-
decimal>
Sets the accept tunnel AES encrypt key with up to 16 bytes. Each byte is represented by
two adjacent hex digits. Bytes may run together or be separated by optional punctuation:
123ABC "12 3A BC" 12,3A,BC 12.3a.bc 12:3a:bc Note that quotes must enclose the value
if it contains spaces.
aes encrypt key text
<text>
Sets the accept tunnel AES encrypt key with up to 16 bytes. Each byte is represented by a
single character. Note that quotes must enclose the value if it contains spaces.
block network disable
Forwards (tunnels) network data in accept mode tunneling.
block network enable
Discards all data coming in from the accept mode tunnel before forwarding it to the serial