C
HAPTER
20
| System Management Commands
Event Logging
– 742 –
DEFAULT SETTING
None
COMMAND MODE
Global Configuration
COMMAND USAGE
The logging process controls error messages saved to switch memory or
sent to remote syslog servers. You can use the logging history command to
control the type of error messages that are stored in memory. You can use
the logging trap command to control the type of error messages that are
sent to specified syslog servers.
EXAMPLE
Console(config)#logging on
Console(config)#
RELATED COMMANDS
logging history (740)
logging trap (742)
clear log (743)
logging trap This command enables the logging of system messages to a remote server,
or limits the syslog messages saved to a remote server based on severity.
Use this command without a specified level to enable remote logging. Use
the no form to disable remote logging.
SYNTAX
logging trap [level level]
no logging trap [level]
level - One of the syslog severity levels listed in the table on
page 740. Messages sent include the selected level through level 0.
DEFAULT SETTING
Disabled
Level 7
COMMAND MODE
Global Configuration
COMMAND USAGE
â—† Using this command with a specified level enables remote logging and
sets the minimum severity level to be saved.
â—† Using this command without a specified level also enables remote
logging, but restores the minimum severity level to the default.