System Management Guide Event and Accounting Logs
Edition: 01 3HE 11018 AAAC TQZZA 267
5.10 Common Configuration Tasks
The following sections describe basic system tasks that must be performed.
• Configuring an Event Log
• Configuring a File ID
• Configuring an Accounting Policy
• Configuring Event Control
• Configuring Throttle Rate
• Configuring a Log Filter
• Configuring an SNMP Trap Group
• Configuring a Syslog Target
5.10.1 Configuring an Event Log
An event log file is identified by a log-id and contains information used to direct
messages generated by system applications (such as events, alarms, traps, and
debug information) to their respective destinations. One or more event sources can
be specified using the from command. Event destinations (such as file IDs, SNMP
trap groups, or syslog IDs) must be configured using the to command before they
can be applied to an event log ID. Only one destination can be specified.
Use the file-id log-file-id command to specify the destination compact flash. See
Configuring a File ID.
Use the following CLI syntax to configure a log file:
CLI Syntax: config>log
log-id log-id
description description-string
filter filter-id
from {[main] [security] [change] [debug-
trace]}
to console
to file log-file-id
to memory [size]
to session
to snmp [size]
to syslog syslog-id
time-format {local | utc}
no shutdown