Changing The Amount Of Internal Flash Memory Available For Logs - Cisco PIX 500 Series Configuration Manual

Security appliance command line
Hide thumbs Also See for PIX 500 Series:
Table of Contents

Advertisement

Chapter 42
Monitoring the Security Appliance

Changing the Amount of Internal Flash Memory Available for Logs

You can cause the adaptive security appliance to save the contents of the log buffer to internal Flash
memory in two ways:
By default, the adaptive security appliance can use up to 1 MB of internal Flash memory for log data.
The default minimum amount of internal Flash memory that must be free for the adaptive security
appliance to save log data is 3 MB.
If a log file being saved to internal Flash memory would cause the amount of free internal Flash memory
to fall below the configured minimum limit, the adaptive security appliance deletes the oldest log files
to ensure that the minimum amount of memory remains free after saving the new log file. If there are no
files to delete or if, after all old files are deleted, free memory would still be below the limit, the adaptive
security appliance fails to save the new log file.
To modify the settings for the amount of internal Flash memory available for logs, perform the following
steps:
To specify the maximum amount of internal Flash memory available for saving log files, enter the
Step 1
following command:
hostname(config)# logging flash-maximum-allocation kbytes
Where kbytes specifies the maximum amount of internal Flash memory, in kilobytes, that can be used
for saving log files.
The following example sets the maximum amount of internal Flash memory that can be used for log files
to approximately 1.2 MB:
hostname(config)# logging flash-maximum-allocation 1200
To specify the minimum amount of internal Flash memory that must be free for the adaptive security
Step 2
appliance to save a log file, enter the following command:
hostname(config)# logging flash-minimum-free kbytes
Where kbytes specifies the minimum amount of internal Flash memory, in kilobytes, that must be
available before the adaptive security appliance saves a new log file.
The following example specifies that the minimum amount of free internal Flash memory must be 4000
KB before the adaptive security appliance can save a new log file:
hostname(config)# logging flash-minimum-free 4000
OL-12172-03
Configure logging so that the contents of the log buffer are saved to internal Flash memory each time
the buffer wraps
Enter a command instructing the adaptive security appliance to save the current contents of the log
buffer to internal Flash memory immediately
Cisco Security Appliance Command Line Configuration Guide
Configuring and Managing Logs
42-23

Advertisement

Table of Contents
loading

This manual is also suitable for:

Asa 5500 series

Table of Contents