Info-Center Logfile Overwrite-Protection - H3C SR6600 Command Reference Manual

Network management and monitoring command reference
Hide thumbs Also See for SR6600:
Table of Contents

Advertisement

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.
Use undo info-center logfile overwrite-protection to disable log file overwrite-protection. When the size
of the log file reaches the upper limit or the storage device runs out of memory, the device deletes the old
logs in the log file and writes new logs into the log file.
Syntax
info-center logfile overwrite-protection [ all-port-powerdown ]
undo info-center logfile overwrite-protection
Default
Log file overwrite-protection is disabled.
Views
System view
Default command level
2: System level
Parameters
all-port-powerdown: Shuts down all the service interfaces on the device when the size of the log file
reaches the upper limit or the storage device runs out of memory.
Usage guidelines
This command is supported only in FIPS mode.
Examples
# Enable log file overwrite-protection.
216

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sr6600-x

Table of Contents