8: Device Ports
SecureLinx SLC User Guide
79
Logging Commands
The following CLI commands correspond to the web page entries described above.
To configure logging settings for one or more device ports:
Example:
set deviceport port 2-5,6,12,15-16 baud 2400 locallogging
enable
Note:
Local logging must be enabled for a device port for the
locallog
commands to be
executed. To use the
set locallog clear
command, the user must have permission to clear
port buffers (see
10:
User Authentication
).
set deviceport port <Device Port List or Name> <one or more
deviceport parameters>
Parameters:
emaildelay <Email Delay>
emaillogging <
disable
|bytecnt|charstr>
emailrestart <Restart Delay>
emailsend <
|trap|both>
emailstring <Regex String>
emailsubj <Email Subject>
emailthreshold <Byte Threshold>
emailto <Email Address>
filedir <Logging Directory>
filelogging <enable|
disable
>
filemaxfiles <Max # of Files>
filemaxsize <Max Size of Files>
locallogging <enable|
disable
>
name <Device Port Name>
nfsdir <Logging Directory>
nfslogging <enable|
disable
>
nfsmaxfiles <Max # of Files>
nfsmaxsize <Size in Bytes>
pccardlogging <enable|
disable
>
pccardmaxfiles <Max # of Files>
pccardmaxsize <Size in Bytes>
pccardslot <
upper
|lower>
To view a specific number of bytes of data for a device port:
show locallog <Device Port # or Name> [bytes <Bytes To Display>]
1K is the default.