
25-8
Catalyst 6500 Series Switch and Cisco 7600 Series Router Firewall Services Module Configuration Guide using ASDM
OL-20748-01
Chapter 25 Monitoring the Firewall Services Module
Configuring and Managing Syslog Messages
Step 2
To specify the number of syslog messages retained in the ASDM log buffer, enter the following
command:
hostname(config)#
logging asdm-buffer-size
num_of_msgs
where
num_of_msgs
specifies the number of syslog messages that the FWSM retains in the ASDM log
buffer.
The following example shows how to set the ASDM log buffer size to 200 syslog messages:
hostname(config)#
logging asdm-buffer-size 200
Clearing the ASDM Log Buffer
To erase the current contents of the ASDM log buffer, enter the following command:
hostname(config)#
clear logging asdm
Sending Syslog Messages to a Switch Session, Telnet Session, or SSH Session
When you log in to the FWSM from the switch, you are connected using a Telnet session. Therefore, you
configure logging to a switch session the same way as you configure logging to a Telnet or SSH session.
Viewing syslog messages in a Telnet or SSH session requires two steps:
1.
Specify which messages should be sent to a Telnet or SSH session.
2.
View syslog messages in the current session.
This section includes the following topics:
•
Configuring Logging for Telnet and SSH Sessions, page 25-8
•
Viewing Syslog Messages in the Current Session, page 25-9
Configuring Logging for Telnet and SSH Sessions
Note
To start logging to a Telnet or SSH session as defined in this procedure, be sure to enable logging for all
output locations. See the
“Enabling Logging to All Configured Output Destinations” section on
page 25-2
. To disable logging, see the
“Disabling Logging to All Configured Output Destinations”
section on page 25-3
.
To specify which messages should be sent to a Telnet or SSH session, enter the following command:
hostname(config)#
logging monitor
{
severity_level
|
message_list
}
Where the
severity_level
argument specifies the severity levels of messages to be sent to the session. You
can specify the severity level number (0 through 7) or name. For severity level names, see the
“Severity
Levels” section on page 25-20
. For example, if you set the severity level to 3, then the FWSM sends
syslog 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 the session. For information about creating custom message lists, see the
“Filtering Syslog
Messages with Custom Message Lists” section on page 25-14
.
Содержание 6500 - Catalyst Series 10 Gigabit EN Interface Module Expansion
Страница 35: ...P A R T 1 Getting Started and General Information ...
Страница 36: ......
Страница 297: ...P A R T 2 Configuring the Security Policy ...
Страница 298: ......
Страница 521: ...P A R T 3 System Administration ...
Страница 522: ......
Страница 613: ...P A R T 4 Reference ...
Страница 614: ......