R21xx-HP FlexFabric 11900 Network Management and Monitoring Command Reference

67
logfile save
Use logfile save to manually save logs in the log file buffer into the log file.
Syntax
logfile save
Views
Any view
Predefined user roles
2: System level
Usage guidelines
You can specify the directory to save the log file by using the info-center logfile switch-directory
command.
The system clears the log file buffer after saving logs from the buffer to the log file automatically or
manually.
Examples
# Save logs from the log file buffer into the log file.
<Sysname> logfile save
The contents in the log file buffer have been saved to the file flash:/logfile/logfile.log.
Related commands
info-center logfile enable
info-center logfile switch-directory
reset logbuffer
Use reset logbuffer to clear the log buffer.
Syntax
reset logbuffer
Views
User view
Predefined user roles
network-admin
Examples
# Clear the log buffer.
<Sysname> reset logbuffer
Related commands
display logbuffer
terminal debugging
Use terminal debugging to enable the display of debug information on the current terminal.