12000 Series CLI
True Scale Fabric Switches 12000 Series CLI
Reference Guide
July 2015
92
• Preset: Enable or disable each log level that may be generated on the system. The
log presets act as a general filter. For example, if the Info logging level is disabled
in the presets, no Info messages will be shown on any output device, regardless of
Info log setting for a device.
• Device: Enable a device to display or process log messages of each level. The level
must also be active in Preset for log messages to be processed for a device.
• Syslog: Configure the syslog host ip address and port.
2.5.6.4
logResetToDefaults
Restores the log file default settings.
Syntax
logResetToDefaults [-noprompt]
Options
-noprompt
–
Restore the defaults without prompting the user.
Sample Output
-> logResetToDefaults
Log configuration has been reset
2.5.6.5
logSyslogConfig
Configure the syslog host IP address.
Syntax
logSyslogConfig [-h xxx.xxx.xxx.xxx] [-p xxxx] [-f xx] [-m x]
Options
-h ip_address
–
Sets the host IP address in dotted decimal format
(xxx.xxx.xxx.xxx).
-p port
–
The host port number on which the syslog server is listening.
-f facility
–
The syslog facility to use in the messages.
-m mode
–
Determines whether the syslog is to be put into a special OEM mode.
Sample Output
-> logSyslogConfig -h 172.26.0.202
Successfully configured the syslog host
Notes
If configured the device can forward its log messages to a syslog host. This command
allows a user to configure the host and port to send messages to and the facility to use
in the messages. The facility value assignments are:
• 0 kern
• 1 user
• 2 mail