Modifying A File Id - Alcatel-Lucent 7950 SR System Management Manual

Hide thumbs Also See for 7950 SR:
Table of Contents

Advertisement

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
The following displays the current log configuration:
A:ALA-12>config>log# info
------------------------------------------
----------------------------------------------
A:ALA-12>config>log#
The following displays an example to modify log file parameters:
Example
The following displays the file modifications:
A:ALA-12>config>log# info
----------------------------------------------
...
...
----------------------------------------------
A:ALA-12>config>log#
7950 SR OS System Management Guide
file-id log-file-id
description description-string
location [cflash-id]
rollover minutes [retention hours]
file-id 1
description "This is a log file."
location cf1:
rollover 600 retention 24
exit
:
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
file-id 1
description "LocationTest."
location
rollover 2880 retention 500
exit
Event and Accounting Logs
Page 347

Advertisement

Table of Contents
loading

Table of Contents