Chapter 25
Monitoring the Firewall Services Module
For example:
hostname(config)# logging recipient-address admin@example.com
To specify the SMTP server to be used when sending syslog messages to an e-mail destination, enter the
Step 4
following command:
hostname(config)# smtp-server ip_address
For example:
hostname(config)# smtp-server 10.1.1.1
Sending Syslog Messages to ASDM
You can configure the FWSM to send syslog messages to ASDM. The FWSM 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. For information about the internal log
buffer, see the
When the ASDM log buffer is full, the FWSM deletes the oldest syslog message to make room in the
buffer for new syslog messages. To control the number of syslog messages retained in the ASDM log
buffer, you can change the size of the buffer.
This section includes the following topics:
•
•
Configuring Logging for ASDM
To start logging to ASDM as defined in this procedure, be sure to enable logging for all output locations.
Note
See the
logging, see the
To specify ASDM as an output destination, perform the following steps:
To specify which syslog messages should go to ASDM, enter the following command:
Step 1
hostname(config)# logging asdm {severity_level | message_list}
where the severity_level argument specifies the severity levels of messages to be sent to ASDM. You can
specify the severity level number (0 through 7) or name. For severity level names, see the
Levels" section on page
messages for severity levels 3, 2, 1, and 0.
The message_list argument specifies a customized message list that identifies the syslog messages to
send to ASDM. For information about creating custom message lists, see the
with Custom Message Lists" section on page
The following example shows how to enable logging and send syslog messages of severity levels 0, 1,
and 2 to the ASDM log buffer:
hostname(config)# logging asdm 2
Catalyst 6500 Series Switch and Cisco 7600 Series Router Firewall Services Module Configuration Guide using ASDM
OL-20748-01
"Sending Syslog Messages to the Log Buffer" section on page
Configuring Logging for ASDM, page 25-7
Clearing the ASDM Log Buffer, page 25-8
"Enabling Logging to All Configured Output Destinations" section on page
"Disabling Logging to All Configured Output Destinations" section on page
25-20. For example, if you set the level to 3, then the FWSM sends syslog
Configuring and Managing Syslog Messages
25-14.
25-9.
25-2. To disable
25-3.
"Severity
"Filtering Syslog Messages
25-7