Audit Logs
Chapter 4. Maintenance Tasks
46
Audit Log Resources
The audit log is a fixed-length list of entries. When a log file is full, another log file
is started. This continues until the specified maximum number of log files is
reached. At that point, the information in the first log file is overwritten. Using
multiple log files tracks events over a longer period of time, with a RAM utilization
tradeoff.
The default number of log files is four; the default log file size is 256 KB. Keep
these default settings unless there is a specific reason to change them.
Configure Audit Log Resources
1. Log in as Network Manager.
2. To enter configuration mode; enter this command:
configure terminal
3. At the
config>
prompt, enter this command:
log-file <
number
> [
size-in-kbytes
]
For parameter descriptions, go to “log-file” on page 77.
Example
This example sets the number of log files to 6 and the file size to 300 KB.
admin>
configure terminal
config>
log-file 6 300
Configure Log File Events
The
log
command defines the events recorded in the log file and where to send
the data. By default, logging is disabled; some basic diagnostic events, however,
are always recorded. Configuring the log file events requires making these three
determinations:
z
Events to record
When enabled, these events are available to be recorded in the log file.
Attribute
Description
CCB
Control board messages generated by the hardware diagnostic
tests and other significant events, such as policy configuration
error messages.
cmbSsh
IPSec Phases 1 and 2 negotiation messages on the
management port.
Ike
IKE negotiation messages. For technical support diagnostic use.
list
All event log attributes and their status.
snmp-event
Summary of SNMP activity: packet sent, packet received, trap
sent.
snmp-packets
SNMP packet contents (hex dump).