79
Information center commands
diagnostic-logfile save
Use
diagnostic-logfile save
to manually save diagnostic logs from the diagnostic log file buffer to
the diagnostic log file.
Syntax
diagnostic-logfile save
Views
Any view
Predefined user roles
network-admin
Usage guidelines
When this command is executed, the system displays a message that logs in the buffer have been
saved to the diagnostic log file even if the diagnostic log file buffer does not contain diagnostic logs.
You can specify the directory to store the diagnostic log file by using the
info-center
diagnostic-logfile directory
command.
The system clears the diagnostic log file buffer after saving the buffered diagnostic logs to the
diagnostic log file.
Examples
# Manually save diagnostic logs from the diagnostic log file buffer to the diagnostic log file.
<Sysname> diagnostic-logfile save
The contents in the diagnostic log file buffer have been saved to the file flash:/
diagfile/diagfile.log.
Related commands
•
info-center diagnostic-logfile directory
•
info-center diagnostic-logfile enable
display diagnostic-logfile summary
Use
display diagnostic-logfile summary
to display the diagnostic log file configuration.
Syntax
display diagnostic-logfile summary
Views
Any view
Predefined user roles
network-admin
network-operator
Examples
# Display the diagnostic log file configuration.
<Sysname> display diagnostic-logfile summary