Logfile Save; Reset Logbuffer - H3C S5120-SI Series Command Reference Manual

Hide thumbs Also See for S5120-SI Series:
Table of Contents

Advertisement

By default, information output to the trap buffer is enabled with channel 3 (trapbuffer) as the default
channel and a maximum buffer size of 256.
Note that the info-center trapbuffer command takes effect only after the information center is enabled
with the info-center enable command.
Examples
# Configure the system to output information to the trap buffer through the default channel, and set the
trap buffer size to 30.
<Sysname> system-view
[Sysname] info-center trapbuffer size 30

logfile save

Syntax
logfile save
View
Any view
Default Level
2: System level
Parameters
None
Description
Use the logfile save command to save all the contents in the log file buffer into the log file.
By default, the system automatically saves the log file based on a frequency configured by the
info-center logfile frequency command into a directory configured by the info-center logfile
switch-directory command.
Note that all contents in the log file buffer will be cleared after they are successfully saved into the log file
automatically or manually.
Examples
# Save the contents in the log file buffer into the log file.
<Sysname> logfile save

reset logbuffer

Syntax
reset logbuffer
View
User view
1-27

Advertisement

Table of Contents
loading

Table of Contents