R211x-HP Flexfabric 11900 Network Management and Monitoring Command Reference

83
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 with the info-center logfile directory command.
The system clears the log file buffer after saving logs from the buffer to the log file automatically or
manually.
Examples
# Manually 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 directory
reset logbuffer
Use reset logbuffer to clear the log buffer.
Syntax
reset logbuffer
Views
User view
Predefined user roles
network-admin
mdc-admin
Examples
# Clear the log buffer.
<Sysname> reset logbuffer
Related commands
display logbuffer