Log File Commands
Page 372
7950 SR OS System Management Guide
Log File Commands
file-id
Syntax
[
no
]
file-id file-id
Context
config>log
Description
This command creates the context to configure a file ID template to be used as a destination for an
event log or billing file.
This command defines the file location and characteristics that are to be used as the destination for a
log event message stream or accounting/billing information. The file defined in this context is
subsequently specified in the
to
command under
log-id
or
accounting-policy
to direct specific
logging or billing source streams to the file destination.
A file ID can only be assigned to either
one log-id
or
one accounting-policy
. It cannot be reused for
multiple instances. A file ID and associated file definition must exist for each log and billing file that
must be stored in the file system.
A file is created when the file ID defined in this command is selected as the destination type for a
specific log or accounting record. Log files are collected in a “log” directory. Accounting files are
collected in an “act” directory.
The file names for a log are created by the system as summarized in the table below:
Where:
•
ll
is the
log-id
•
aa
is the accounting
policy-id
•
ff
is the file-id
• The
timestamp
is the actual timestamp when the file is created. The format for the timestamp is
yyyymmdd
-
hhmmss
where:
–
yyyy
is the year (for example, 2006)
–
mm
is the month number (for example, 12 for December)
–
dd
is the day of the month (for example, 03 for the 3rd of the month)
–
hh
is the hour of the day in 24 hour format (for example, 04 for 4 a.m.)
–
mm
is the minutes (for example, 30 for 30 minutes past the hour)
–
ss
is the number of seconds (for example, 14 for 14 seconds)
• The accounting file is compressed and has a gz extension.
File Type
File Name
Log File
log
llff
-
timestamp
Accounting File
act
aaff
-
timestamp
Содержание 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...