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

40
Default command level
2: System level
Parameters
size buffersize: Specifies the maximum number of trap messages allowed in the trap buffer, in the range
of 0 to 1024. The default value is 256.
channel-number: Specifies a channel by its number, in the range of 0 to 9.
channel-name: Specifies a channel by its name, a default name or a self-defined name. For information
about configuring a channel name, see info-center channel name.
Usage guidelines
The info-center trapbuffer command takes effect only after the information center has been enabled with
the info-center enable command.
Examples
# Output system 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
Use logfile save to manually save logs in the log file buffer into the log file.
Syntax
logfile save
Default
The system automatically saves logs from the log buffer to the log file at the interval configured by the
info-center logfile frequency command. The directory for the log file can be specified by using the
info-center logfile switch-directory command.
Views
Any view
Default command level
2: System level
Usage guidelines
The system clears the log file buffer after saving logs from the buffer to the log file automatically or
manually.
Examples
# Save logs in the log file buffer into the log file.
<Sysname> logfile save
reset logbuffer
Use reset logbuffer to clear the log buffer.