R3303-HP HSR6800 Routers Network Management and Monitoring Command Reference

213
Syntax
info-center logfile enable
undo info-center logfile enable
Default
The log file feature is enabled.
Views
System view
Default command level
2: System level
Examples
# Enable the log file feature.
<Sysname> system-view
[Sysname] info-center logfile enable
info-center logfile frequency
Use info-center logfile frequency to configure the interval for saving system information to the log file.
Use undo info-center logfile frequency to restore the default interval.
Syntax
info-center logfile frequency freq-sec
undo info-center logfile frequency
Default
The default saving interval is 60 seconds.
Views
System view
Default command level
2: System level
Parameters
freq-sec: Specifies the saving interval in the range of 1 to 86400 seconds.
Examples
# Configure the interval for saving system information to the log file as 60000 seconds.
<Sysname> system-view
[Sysname] info-center logfile frequency 60000
info-center logfile overwrite-protection
Use info-center logfile overwrite-protection to enable log file overwrite-protection. When the size of the
log file reaches the upper limit or the storage device runs out of memory, new logs cannot be written into
the log file.