H3C Technologies H3C MSR 50 User Manual
Page 208

Saving system information to a log file (MSR 900, MSR 930, MSR 20, MSR 30, or MSR 50)
Step Command
Remarks
517.
Enter system view.
system-view
N/A
Optional.
518.
Enable the information center. info-center enable
Enabled by default.
Optional.
519.
Enable the log file feature.
info-center logfile enable
Enabled by default.
Optional.
520.
Configure the interval at
which the system saves logs in
the log buffer to a log file.
info-center logfile frequency
freq-sec
The default saving interval is
86400 seconds.
By default, log file
overwrite-protection is disabled.
This feature enables the system to
stop saving new system
information into log files when the
last log file is full or the storage
device runs out of space.
info-center logfile
overwrite-protection
[ all-port-powerdown ]
521.
Enable log file
overwrite-protection.
This feature is supported only in
FIPS mode.
Optional.
522.
Configure the maximum size
of the log file.
info-center logfile size-quota size
The default setting is 10 MB.
Optional.
By default, the log file is saved in
the logfile directory under the root
directory of the storage device (the
root directory of a storage device
varies with devices).
523.
Configure the directory to
save the log files.
info-center logfile switch-directory
dir-name
The configuration made by this
command cannot survive a system
reboot.
Optional.
Available in any view.
By default, the system saves logs in
the log file buffer to a log file at the
interval configured by the
info-center logfile frequency
command.
524.
Manually save logs in the log
file buffer to a log file.
logfile save
The following matrix shows feature and router compatibility:
MSR
20-1X
MSR
2600
MSR 20
MSR 30
MSR 50
Feature
MSR 900 MSR 930
Log file feature
Yes. Yes. No. Yes.
Yes except
on MSR
30-11.
Yes. Yes.
195