R3721-F3210-F3171-HP High-End Firewalls System Management and Maintenance Command Reference-6PW101
110
Parameters
size buffersize: Specifies the maximum number of trap messages that can be stored in the trap buffer, in
the range of 0 to 1,024. 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 how to
configure a channel name, see info-center channel name.
Description
Use info-center trapbuffer to enable information output to the trap buffer and set the corresponding
parameters.
Use undo info-center trapbuffer to disable information output to the trap buffer.
By default, the system outputs information to the trap buffer through channel 3 (trapbuffer), and the
maximum buffer size is 256.
The info-center trapbuffer command takes effect only after the information center has been 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 logfile save to manually save logs in the log file buffer into the log file.
By 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 using the
info-center logfile switch-directory command
The system clears the log file buffer after saving logs from the buffer to the log file automatically or
manually.
The following matrix shows the command and firewall compatibility: