17: Command Reference
EMGâ„¢ Edge Management Gateway User Guide 422
Parameters
actiondelay <Action Delay>
actionrestart <Restart Delay>
bytethreshold <# of Characters>
emailsubj <Email Subject>
emailto <Email Address>
locallogging <enable|disable>
nfsdir <Logging Directory>
nfslogging <enable|disable>
nfsmaxfiles <Max # of Files>
nfsmaxsize <Size in Bytes>
poweraction <on|off|cycle>
powersupply <Managed Power Supply Name>
sendstring <String to Send|QUOTEDSTRING>
tokenaction <List of none,log,trap,email,string,power>
tokendatadetect <enable|disable>
tokenstring <Regex String>
tokentrigger <bytecnt|charstr>
usblogging <enable|disable>
usbmaxfiles <Max # of Files>
usbmaxsize <Size in Bytes>
usbport <U1|SD|INTSD>
sysloglogging <enable|disable>
Description
Configures logging settings for one or more device ports.
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 14: User Authentication.)
Example
set deviceport port 2-5,6,12,15-16 locallogging enable
show locallog
Syntax
show locallog <Device Port # or Name> [<parameters>]
Parameters: [bytes <Bytes To Display>]
[startbyte <Byte Index>]
Defaults: bytes=1000, startbyte=1
Description
Displays a specific number of bytes of data for a device port. 1K is the default.