3: Summary of CLI Commands
XPort Pro™ Command Reference
34
http level
commands
Description
clrscrn
Clears the screen.
default log format
Restores the HTTP Server log format string to its default value.
default log max
entries
Restores the default maximum number of HTTP Server log
entries.
default max bytes
Resets the default maximum bytes the HTTP Server will accept
when receiving a request.
default max timeout
Resets the default maximum time the HTTP Server will wait
when receiving a request.
default port
Resets the HTTP Server port to its default value.
default ssl port
Resets the HTTP Server SSL port to its default value.
delete auth <uri>
Deletes an existing HTTP Server authentication directive.
<uri> = URI of the server.
delete auth user
<uri> <user>
Deletes an existing user for an HTTP Server authentication
directive.
<uri> = URI of the server.
<user> = username.
exit
Returns to the config level.
log disable
Disables HTTP server logging.
log enable
Enables HTTP server logging.
log format <string>
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
max bytes <bytes>
Sets the maximum number of bytes the HTTP server accepts
when receiving a request.
max timeout
<seconds>
Sets the maximum timeout the HTTP server waits when
receiving a request.