Info-Center Diagnostic-Logfile Directory; Info-Center Diagnostic-Logfile Enable - HPE FlexNetwork 7500 Series Command Reference Manual

Network management and monitoring
Table of Contents

Advertisement

[Sysname-Ten-GigabitEthernet1/0/1] undo enable log updown

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 directory is flash:/diagfile.
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.
(In standalone mode.) This command cannot survive a reboot or an active/standby switchover.
(In IRF mode.) This command cannot survive an IRF reboot or a global active/standby switchover in
an IRF fabric.
Examples
# Set the diagnostic log file directory to flash:/test.
<Sysname> mkdir test
Creating directory flash:/test... Done.
<Sysname> system-view
[Sysname] info-center diagnostic-logfile directory flash:/test

info-center diagnostic-logfile enable

Use info-center diagnostic-logfile enable to enable saving diagnostic logs to the diagnostic log
file.
Use undo info-center diagnostic-logfile enable to disable saving diagnostic logs to the diagnostic
log file.
Syntax
info-center diagnostic-logfile enable
undo info-center diagnostic-logfile enable
Default
Saving diagnostic logs to the diagnostic log file is enabled.
Views
System view
385

Advertisement

Table of Contents
loading

Table of Contents