Logfile Save; Reset Logbuffer - HPE FlexFabric 5930 Series Network Management And Monitoring Command Reference

Hide thumbs Also See for FlexFabric 5930 Series:
Table of Contents

Advertisement

Views
System view
Predefined user roles
network-admin
Parameters
size: Specifies the maximum size of the trace log file, in the range of 1 to 10 MB.
Examples
# Set the maximum size to 6 MB for the trace log file.
<Sysname> system-view
[Sysname] info-center trace-logfile quota 6

logfile save

Use logfile save to manually save logs in the log file buffer to 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 log file buffer to the log file
automatically or manually.
Examples
# Manually save logs from the log file buffer to 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
104

Advertisement

Table of Contents
loading

Table of Contents