77-11
Cisco ASA 5500 Series Configuration Guide using the CLI
Chapter77 Configuring Logging
Configuring Logging
Sending Syslog Messages to ASDM
To send syslog messages to ASDM, perform the following steps:
Sending Syslog Messages to the Console Port
To send syslog messages to the console port, enter the following command:
Sending Syslog Messages to an SNMP Server
To enable logging to an SNMP server, enter the following command:
Command Purpose
Step1 logging asdm {severity_level | message_list}
Example:
hostname(config)# logging asdm 2
Specifies which syslog messages should be sent to
ASDM. The ASA sets aside a buffer area for syslog
messages waiting to be sent to ASDM and saves
messages in the buffer as they occur. The ASDM log
buffer is a different buffer than the internal log buffer.
When the ASDM log buffer is full, the ASA deletes
the oldest syslog message to make room in the buffer
for new ones. Deletion of the oldest syslog message
to make room for new ones is the default setting in
ASDM. To control the number of syslog messages
retained in the ASDM log buffer, you can change the
size of the buffer.
Step2 logging asdm-buffer-size num_of_msgs
Example:
hostname(config)# logging asdm-buffer-size 200
Specifies the number of syslog messages to be
retained in the ASDM log buffer. To empty the
current content of the ASDM log buffer, enter the
clear logging asdm command.
Command Purpose
logging console {severity_level | message_list}
Example:
hostname(config)# logging console errors
Specifies which syslog messages should be sent to the console
port.
Command Purpose
logging history [logging_list | level]
Example:
hostname(config)# logging history errors
Enables SNMP logging and specifies which messages are to
be sent to SNMP servers. To disable SNMP logging, enter the
no logging history command.