Info-Center Diagnostic-Logfile Directory; Info-Center Logfile Overwrite-Protection - HPE FlexNetwork 7500 Series Network Management And Monitoring Command Reference

Hide thumbs Also See for FlexNetwork 7500 Series:
Table of Contents

Advertisement

Parameters
size: Specifies the maximum size of the diagnostic log file, in the range of 1 to 10 MB.
Examples
# Set the maximum size of the 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 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
mdc-admin
Parameters
dir-name: Specifies a directory by its name, a string of 1 to 511 characters.
Usage guidelines
The specified directory must have been created.
The configuration made by this command cannot survive a reboot or an active/standby switchover.
(In standalone mode.)
The configuration made by this command cannot survive an IRF reboot or a global active/standby
switchover in an IRF fabric. (In IRF mode.)
Examples
# Set the directory to save the diagnostic log file to flash:/test.
<Sysname> mkdir test
Creating directory flash:/test... Done.
<Sysname> system-view
[Sysname] info-center diagnostic-logfile directory flash:/test

info-center logfile overwrite-protection

Use info-center logfile overwrite-protection to enable log file overwrite-protection. When the log
file is full or the storage media runs out of space, the device stops saving logs to the log file.
Use undo info-center logfile overwrite-protection to disable log file overwrite-protection. When
the log file is full or the storage media runs out of space, the device overwrites the oldest logs with
new logs.
368

Advertisement

Table of Contents
loading

Table of Contents