Switch Management Commands 2136
Syntax
level <level>
no level
• level—The severity level for syslog messages. (Range: emergency, alert,
critical, error, warning, notice, info, debug)
Default Configuration
The default value for level is info.
Command Mode
Logging mode
User Guidelines
After entering the view corresponding to a specific SYSLOG server, the
command can be executed to set the severity level for SYSLOG messages.
Debug level messages are intended for use by support personnel. The output
is voluminous, cryptic, and because of the large number of messages
generated, can adversely affect switch operations. Only set the logging level to
debug under the direction of support personnel.
Example
The following example sets the SYSLOG message severity level to alert.
console(config-logging)#level alert
logging cli-command
Use the logging cli-command in Global Configuration mode to enable CLI
command logging.
Syntax
logging cli-command
no logging cli-command
Default Configuration
Disabled