R3204P16-HP Load Balancing Module System Maintenance Command Reference-6PW101

32
Description
Use the info-center trapbuffer command to enable information output to the trap buffer and set the
corresponding parameters.
Use the undo info-center trapbuffer command to disable information output to the trap buffer.
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