Event and Accounting Logs
7950 SR OS System Management Guide
Page 373
When initialized, each file will contain:
• The
log-id
description.
• The time the file was opened.
• The reason the file was created.
• If the event log file was closed properly, the sequence number of the last event stored on the log
is recorded.
If the process of writing to a log file fails (for example, the compact flash card is full) and if a backup
location is not specified or fails, the log file will not become operational even if the compact flash
card is replaced. Enter either a
clear log
command or a
shutdown/no shutdown
command to
reinitialize the file.
If the primary location fails (for example, the compact flash card fills up during the write process), a
trap is sent and logging continues to the specified backup location. This can result in truncated files in
different locations.
The
no
form of the command removes the
file-id
from the configuration. A
file-id
can only be
removed from the configuration if the file is not the designated output for a log destination. The actual
file remains on the file system.
Default
No default file IDs are defined.
Parameters
file-id —
The file identification number for the file, expressed as a decimal integer.
Values
1
—
99
location
Syntax
location cflash-id
[
backup-cflash-id
]
no location
Context
config>log>file
file-id
Description
This command specifies the primary location where the log or billing file will be created.
The
location
command is optional. If the location command not explicitly configured, log files will
be created on cf1: and accounting files will be created on cf2: without overflow onto other devices.
Generally, cf3: is reserved for system files (configurations, images, etc.).
When multiple location commands are entered in a single file ID context, the last command
overwrites the previous command.
When the location of a file ID that is associated with an active log ID is changed, the log events are
not immediately written to the new location. The new location does not take affect until the log is
rolled over either because the rollover period has expired or a
clear log log-id
command is entered to
manually rollover the log file.
When creating files, the primary location is used as long as there is available space. If no space is
available, an attempt is made to delete unnecessary files that are past their retention date.
If sufficient space is not available an attempt is made to remove the oldest to newest closed log or
accounting files. After each file is deleted, the system attempts to create the new file.
Содержание 7950 SR
Страница 10: ...Page 10 7950 SR OS System Management Guide List of Figures...
Страница 14: ...About This Guide Page 14 7950 SR OS System Management Guide...
Страница 16: ...Alcatel Lucent 7950 SR Router Configuration Process Page 16 7950 SR OS System Management Guide...
Страница 56: ...Configuration Notes Page 56 7950 SR OS System Management Guide...
Страница 88: ...Configuring Login Controls Page 88 7950 SR OS System Management Guide...
Страница 106: ...Security Command Reference Page 106 7950 SR OS System Management Guide...
Страница 206: ...Distributed CPU Protection Commands Page 206 7950 SR OS System Management Guide...
Страница 244: ...Debug Commands Page 244 7950 SR OS System Management Guide...
Страница 254: ...Configuration Notes Page 254 7950 SR OS System Management Guide...
Страница 276: ...SNMP Security Commands Page 276 7950 SR OS System Management Guide...
Страница 296: ...Show Commands Page 296 7950 SR OS System Management Guide...
Страница 322: ...Configuration Notes Page 322 7950 SR OS System Management Guide...
Страница 358: ...Log Management Tasks Page 358 7950 SR OS System Management Guide...
Страница 454: ...Facility Alarm List Page 454 7950 SR OS System Management Guide...
Страница 460: ...Standards and Protocols Page 460 Standards and Protocols...