User guide

set logport
Chapter 2 Command Descriptions 155
set logport
Device support This command is supported by all devices except Digi One IA and
Digi One SP.
Purpose Configures or displays the port-logging feature, also known as logport. The
port-logging feature passively logs data going into, out of, or both on a
serial port. This means that you can be using a standard reverse or
RealPort session on a port, and all the data from that session can be sent
to a configurable server.
Required
permissions
The root user can configure port logging. Normal users can display port
logging settings.
Syntax Configure port-logging feature
set logport [range=port#-port#]
[state={off|rx|tx|both}]
[mode={raw|syslog}]
[pri=0-65535]
[ipaddress=ipaddress]
[udpport=1-65535]
[rtime=0-65535]
[rmax=1-65535]
[stripdelimiter={on|off}]
[delimiter=string]
Display current port-logging settings
set logport
Options range=port#-port#
A range of port numbers to which to apply the settings. For example:
"range=1-16"
state={off|rx|tx|both}
Specifies how data should be handled.
off
Do not send port logging data.
rx
Send data received on the serial port.
tx
Send data transmitted by the serial port.
both
Send data received and transmitted (rx+tx).
The default is "off."