![Alcatel-Lucent 7950 SR System Management Manual Download Page 347](http://html1.mh-extra.com/html/alcatel-lucent/7950-sr/7950-sr_system-management-manual_2892148347.webp)
Event and Accounting Logs
7950 SR OS System Management Guide
Page 347
Modifying a File ID
NOTE
: When the
file-id
location parameter is modified, log files are not written to the new
location until a rollover occurs or the log is manually cleared. A rollover can be forced by using
the
clear>log
command. Subsequent log entries are then written to the new location. If a rollover
does not occur or the log not cleared, the old location remains in effect.
Use the following CLI syntax to modify a log file:
CLI Syntax:
config>log
file-id log-file-id
description description-string
location [cflash-id]
rollover minutes [retention hours]
The following displays the current log configuration:
A:ALA-12>config>log# info
------------------------------------------
file-id 1
description "This is a log file."
location cf1:
rollover 600 retention 24
exit
----------------------------------------------
A:ALA-12>config>log#
The following displays an example to modify log file parameters:
Example
:
config# log
config>log# file-id 1
config>log>file-id# description "LocationTest."
config>log>file-id# rollover 2880 retention 500
config>log>file-id# exit
The following displays the file modifications:
A:ALA-12>config>log# info
----------------------------------------------
...
file-id 1
description "
LocationTest
."
location
rollover
2880
retention 500
exit
...
----------------------------------------------
A:ALA-12>config>log#
Summary of Contents for 7950 SR
Page 10: ...Page 10 7950 SR OS System Management Guide List of Figures...
Page 14: ...About This Guide Page 14 7950 SR OS System Management Guide...
Page 16: ...Alcatel Lucent 7950 SR Router Configuration Process Page 16 7950 SR OS System Management Guide...
Page 56: ...Configuration Notes Page 56 7950 SR OS System Management Guide...
Page 88: ...Configuring Login Controls Page 88 7950 SR OS System Management Guide...
Page 106: ...Security Command Reference Page 106 7950 SR OS System Management Guide...
Page 206: ...Distributed CPU Protection Commands Page 206 7950 SR OS System Management Guide...
Page 244: ...Debug Commands Page 244 7950 SR OS System Management Guide...
Page 254: ...Configuration Notes Page 254 7950 SR OS System Management Guide...
Page 276: ...SNMP Security Commands Page 276 7950 SR OS System Management Guide...
Page 296: ...Show Commands Page 296 7950 SR OS System Management Guide...
Page 322: ...Configuration Notes Page 322 7950 SR OS System Management Guide...
Page 358: ...Log Management Tasks Page 358 7950 SR OS System Management Guide...
Page 454: ...Facility Alarm List Page 454 7950 SR OS System Management Guide...
Page 460: ...Standards and Protocols Page 460 Standards and Protocols...