
25-10
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
For example, to specify that messages with severity levels 1 and 2 should be saved in the log buffer, enter
one of the following commands:
hostname(config)#
logging buffered critical
or
hostname(config)#
logging buffered level 2
For the
message_list
option, specify the name of a message list containing criteria for selecting messages
to be saved in the log buffer.
hostname(config)#
logging buffered notif-list
Viewing the Log Buffer
To view the log buffer, enter the following command:
hostname(config)#
show logging
Changing the Log Buffer Size
By default, the log buffer size is 4 KB. To change the size of the log buffer, enter the following command:
hostname(config)#
logging buffer-size
bytes
Where the
bytes
argument sets the amount of memory used for the log buffer, in bytes. For example, if
you specify 8192, the FWSM uses 8 KB of memory for the log buffer.
The following example specifies that the FWSM uses 16 KB of memory for the log buffer:
hostname(config)#
logging buffer-size 16384
Automatically Saving the Full Log Buffer to Flash Memory
Unless configured otherwise, the FWSM sends messages to the log buffer on a continuing basis,
overwriting old messages when the buffer is full. If you want to keep a history of syslog messages, you
can configure the FWSM to send the buffer contents to another output location each time the buffer fills.
Buffer contents can be saved either to internal flash memory or to an FTP server.
When saving the buffer content to another location, the FWSM creates log files with names that use a
default time-stamp format, as follows:
LOG-YYYY-MM-DD-HHMMSS.TXT
Where
YYYY
is the year,
MM
is the month,
DD
is the day of the month, and
HHMMSS
is the time in
hours, minutes, and seconds.
While the FWSM writes the log buffer contents to internal flash memory or an FTP server, it continues
saving new messages to the log buffer.
To specify that messages in the log buffer should be saved to internal flash memory each time the buffer
wraps, enter the following command:
hostname(config)#
logging flash-bufferwrap
Summary of Contents for 6500 - Catalyst Series 10 Gigabit EN Interface Module Expansion
Page 35: ...P A R T 1 Getting Started and General Information ...
Page 36: ......
Page 297: ...P A R T 2 Configuring the Security Policy ...
Page 298: ......
Page 521: ...P A R T 3 System Administration ...
Page 522: ......
Page 613: ...P A R T 4 Reference ...
Page 614: ......