R0106-HP MSR Router Series Network Management and Monitoring Command Reference(V7)
386
Examples
# Manually save logs from the log file buffer into a log file.
<Sysname> logfile save
The contents in the log file buffer have been saved to the file caf0:/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
Examples
# Clear the log buffer.
<Sysname> reset logbuffer
Related commands
display logbuffer
security-logfile save
Use security-logfile save to manually save security logs from the security log file buffer into the security
log file.
Syntax
security-logfile save
Views
Any view
Predefined user roles
security-audit
Usage guidelines
The system clears the security log file buffer after saving security logs into the security log file
automatically or manually.
A local user can use this command only after being authorized as the security log administrator by the
system administrator. For more information about security log administrator, see Security Configuration
Guide.
Examples
# Manually save the security logs in the security log file buffer into the security log file.