Mellanox MLNX-OS®Command Reference Guide for SX1018HP Ethernet Managed Blade Switch
Rev 1.6.2
Mellanox Technologies
114
logging <syslog IP address>
logging <syslog IP address> [trap {<log-level> | override class <class> priority
<log-level>}]
no logging <syslog IP address> [trap {<log-level> | override class <class> prior-
ity <log-level>}]
Enables (by setting the IP address) sending logging messages, with ability to filter the
logging messages according to their classes.
The no form of the command stops sending messages to the remote syslog server.
Syntax Description syslog IP address IPv4 address of the remote syslog server.
log-level
• alert - alert notification, action must be taken immediately
• crit - critical condition
• debug - debug level messages
• emerg - system is unusable (emergency)
• err - error condition
• info - informational condition
• none - disables the logging locally and remotely
• notice - normal, but significant condition
• warning - warning condition
class Sets or removes a per-class override on the logging
level. All classes which do not have an override set will
use the global logging level set with “logging local
<log level>”. Classes that do have an override will do
as the override specifies. If “none” is specified for the
log level, MLNX-OS will not log anything from this
class.
Classes available:
• iss-modules - protocol stack
• mgmt-back - system management back-end
• mgmt-core - system management core
• mgmt-front - system management front-end
• mlx-daemons - management daemons
• sx-sdk - switch SDK
log-level
• alert - alert notification, action must be taken immediately
• crit - critical condition
• debug - debug level messages
• emerg - system is unusable (emergency)
• err - error condition
• info - informational condition
• none - disables the logging locally and remotely
• notice - normal, but significant condition
• warning - warning condition
Default Remote logging is disabled
Modes/Context Config
History 3.1.0000
Role admin