R211x-HP Flexfabric 11900 Network Management and Monitoring Command Reference
71
info-center logfile directory
Use info-center logfile directory to configure the directory where the log file is saved.
Syntax
info-center logfile directory dir-name
Default
The log file is saved in the flash:/logfile directory.
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 suffix of a log file is .log. When the default directory has no enough space for storing the log file, you
can specify a new directory for the log file.
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
# Create a directory named test under the root directory of the flash.
<Sysname> mkdir test
Creating directory flash:/test... Done.
# Set the directory to save the log file to flash:/test.
<Sysname> system-view
[Sysname] info-center logfile directory flash:/test
Related commands
info-center logfile enable
info-center logging suppress duplicates
Use info-center logging suppress duplicates to enable duplicate log suppression.
Use undo info-center logging suppress duplicate to restore the default.
Syntax
info-center logging suppress duplicates
undo info-center logging suppress duplicates










