Info-Center Logfile Overwrite-Protection - HP FlexFabric 12500 Series Network Management And Monitoring Command Reference

Routing
Hide thumbs Also See for FlexFabric 12500 Series:
Table of Contents

Advertisement

Default
The diagnostic log file is saved in the diagfile directory under the root directory of the storage device. If
the storage device has been partitioned, the diagnostic log file is saved in the diagfile directory on the
second partition 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 64 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 last log file
is full or the storage device runs out of space, the device stops saving logs 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 overwrites the oldest logs with new logs.
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
Predefined user roles
network-admin
mdc-admin
214

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flexfabric 12500e series

Table of Contents