R0106-HP MSR Router Series Network Management and Monitoring Command Reference(V7)
368
Examples
# Configure the system to save diagnostic logs from the diagnostic log file buffer to the diagnostic log file
every 600 seconds.
<Sysname> system-view
[Sysname] info-center diagnostic-logfile frequency 600
Related commands
info-center diagnostic-logfile enable
info-center diagnostic-logfile quota
Use info-center diagnostic-logfile quota to set the maximum size of a diagnostic log file.
Use undo info-center diagnostic-logfile quota to restore the default.
Syntax
info-center diagnostic-logfile quota size
undo info-center diagnostic-logfile quota
Default
The maximum size of a diagnostic log file is 5 MB.
Views
System view
Predefined user roles
network-admin
Parameters
size: Specifies the maximum size of a diagnostic log file, in MB. The value range is 1 to 10.
Examples
# Set the maximum size of a diagnostic log file to 6 MB.
<Sysname> system-view
[Sysname] info-center diagnostic-logfile quota 6
info-center diagnostic-logfile directory
Use info-center diagnostic-logfile directory to configure the directory to save diagnostic log files.
Syntax
info-center diagnostic-logfile directory dir-name
Default
The diagnostic log files are saved in the diagfile directory under the root directory of the storage device.
Views
System view
Predefined user roles
network-admin