8: Device Ports
SLC™ 8000 Advanced Console Manager User Guide
124
Logging Commands
The following CLI commands correspond to the web page entries described above.
To configure logging settings for one or more device ports:
set deviceport port <Device Port List or Name> <one or more deviceport
parameters>
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
Chapter 11: User Authentication on page 174
).
Example:
set deviceport port 2-5,6,12,15-16 baud 2400 locallogging enable
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>
sysloglogging <enable|
disable
>
usblogging <enable|disable>
usbmaxfiles <max # of Files>
usbmaxsize <Size in Bytes>
usbport <U1|U2|SD>
To view a specific number of bytes of data for a device port:
show locallog <Device Port # or Name> [bytes <Bytes To Display>]
1 Kbyte is the default.
To clear the local log for a device port:
set locallog clear <Device Port # or Name>
Note:
The
locallog
commands can only be executed for a device port if local logging is
enabled for the port. The set
locallog clear
command can only be executed if the user
has permission to clear port buffers (see
Chapter 11: User Authentication on page 174
).