Event and Accounting Logs
7705 SAR OS System Management Guide Page 221
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
Configuring an Event Log
An event log file contains information used to direct events, alarms, traps, and debug
information to their respective destinations. One or more event sources can be specified. File
IDs, SNMP trap groups, or syslog IDs must be configured before they can be applied to an
event log 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 file-id
to memory [size]
to session
to snmp [size]
to syslog syslog-id
time-format {local | utc}
no shutdown
The following displays an example of the log file configuration command syntax:
Example: config# log
config>log# log-id 2
config>log>log-id$ description "This is a test log file."
config>log>log-id# filter 1
config>log>log-id# from main security