8: Device Ports

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 <disablebytecntcharstr> emailrestart <Restart Delay> emailsend <emailtrapboth> emailstring <Regex String> emailsubj <Email Subject> emailthreshold <Byte Threshold> emailto <Email Address>

filedir <Logging Directory> filelogging <enabledisable> filemaxfiles <Max # of Files> filemaxsize <Max Size of Files> locallogging <enabledisable> name <Device Port Name> nfsdir <Logging Directory> nfslogging <enabledisable> nfsmaxfiles <Max # of Files> nfsmaxsize <Size in Bytes> sysloglogging <enabledisable> usblogging <enabledisable> usbmaxfiles <max # of Files> usbmaxsize <Size in Bytes> usbport <U1U2SD>

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).

SLC™ 8000 Advanced Console Manager User Guide

124

Page 124
Image 124
Lantronix SLC 8000 manual Logging Commands, To configure logging settings for one or more device ports