5: Commands and Levels
SGX™ 5150 IoT Device Gateway Command Reference
292
protocol telnet
Sets the protocol to Telnet.
remote address
<text>
Sets the IP address of the remote host to connect to when this host is selected on the login
connect menu. <text> = IP address.
remote port
<number>
Sets the remote port used to connect to the host. <number> = port to be used.
show
Displays the current configuration.
show history
Displays the last 20 commands entered during the current CLI session.
ssh username
<text>
Sets the username for logging into the host via SSH. <text> = username.
write
Stores the current configuration in permanent memory.
http (config-http) level commands
auth
<uri>
Creates a new HTTP server authentication directive. <uri> = URI of the server.
auth type
<uri>
digest
Sets an HTTP server authentication directive to the Digest Access Authentication scheme.
<uri> = URI of the server.
auth type
<uri>
none
Sets the authentication type for an HTTP server authentication directive to none. <uri> =
URI of the server.
authentication timeout
<minutes>
For any Digest AuthType, sets the timeout for authentication. <minutes> = authentication
timeout value.
clear counters
Sets the HTTP counters to zero.
clear log
Clears the HTTP server log.
clrscrn
Clears the screen.
default authentication
timeout
Resets the authentication timeout to its default value.
default log format
Restores the HTTP Server log format string to its default value.
default max bytes
Resets the maximum bytes to its default value.
default max log entries
Restores the default maximum number of HTTP Server log entries.
default max timeout
Resets the timeout to its default value.
default port
Resets the HTTP Server port to its default value.
default secure port
Resets the HTTP Server SSL port to its default value.
default secure protocols Restores the default secure protocol selections.
delete auth
<uri>
Deletes an existing HTTP Server authentication directive. <uri> = URI of the server.
exit
Returns to the config level.
https state disable
Disables the HTTPS server.
https state enable
Enables the HTTPS server.
log format
<text>
Sets the log format string for the HTTP server, using the following directives: %a remote ip
address (could be a proxy) %b bytes sent excluding headers %B bytes sent excluding
headers (0 = '-') %h remote host (same as %a) %{h}i header contents from request (h =
header string) %m request method %p ephemeral local port value used for request %q
query string (prepend with '?' or empty '-') %t timestamp HH:MM:SS (same as Apache
'%(%H:%M:%S)t') %u remote user (could be bogus for 401 status) %U URL path info %r
first line of request (same as '%m %U%q <version>') %s return status
logging state disable
Disables HTTP server logging.
logging state enable
Enables HTTP server logging.
max bytes
<number>
Sets the maximum number of bytes the HTTP server accepts when receiving a request.
max log entries
<num-
ber>
Sets the maximum number of HTTP server log entries. <number> = maximum number of
HTTP server log entries.
max timeout
<seconds>
Sets the maximum time the HTTP server waits when receiving a request. <seconds> =
maximum timeout value.
no clear counters
Restores the HTTP counters to the aggregate values.
no port
Disables the HTTP Server port.