ECS4660-28F_Management Guide-R03

Table Of Contents
C
HAPTER
24
| System Management Commands
Event Logging
– 936 –
EXAMPLE
Console(config)#logging host 10.1.0.3
Console(config)#
logging on This command controls logging of error messages, sending debug or error
messages to a logging process. The no form disables the logging process.
SYNTAX
[no] logging on
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 (934)
logging trap (936)
clear log (937)
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 934. Messages sent include the selected level through level 0.