HP MSR2000/3000/4000 Router Series Network Management and Monitoring Command Reference
232
[Sysname] info-center diagnostic-logfile quota 6
Related commands
• info-center diagnostic-logfile alarm-threshold
info-center diagnostic-logfile directory
Use info-center diagnostic-logfile directory to configure the directory to save the diagnostic log file.
Syntax
info-center diagnostic-logfile directory dir-name
Default
The diagnostic log file is saved in the diagfile directory under the root directory of the storage device.
Views
System view
Predefined user roles
network-admin
Parameters
dir-name: Specifies a directory by its name, a string of 1 to 64 characters.
Usage guidelines
The specified directory must have been created.
This command cannot survive a reboot. (MSR2000/MSR3000.)
This command cannot survive a reboot or an active/standby switchover. (MSR4000.)
Examples
# Set the directory to save the diagnostic log file to cfa0:/test.
<Sysname> mkdir test
Creating directory cfa0:/test... Done.
<Sysname> system-view
[Sysname] info-center diagnostic-logfile directory cfa0:/test
info-center logfile overwrite-protection
Use info-center logfile overwrite-protection to enable log file overwrite-protection. When the last log file
is full or the storage device runs out of space, new logs cannot be written into the log file.
Use undo info-center logfile overwrite-protection to disable log file overwrite-protection. When the last
log file is full or the storage device runs out of space, the device deletes the oldest log file and creates a
new one.
Syntax
info-center logfile overwrite-protection [ all-port-powerdown ]
undo info-center logfile overwrite-protection
Default
Log file overwrite-protection is disabled.