R3166-R3206-HP High-End Firewalls System Management and Maintenance Command Reference-6PW101

75
View
System view
Default level
2: System level
Parameters
channel-number: A specified channel number, in the range 0 to 9.
channel-name: Specifies a channel name, which could be a default name or a self-defined name. The
user needs to specify a channel name first before using it as a self-defined channel name. For more
information, see the info-center channel name command.
buffersize: Specifies the maximum number of log messages that can be stored in a log buffer, in the
range 0 to 1,024 with 512 as the default value.
Description
Use the info-center logbuffer command to enable information output to a log buffer and set the
corresponding parameters.
Use the undo info-center logbuffer command to disable information output to a log buffer.
By default, information is output to the log buffer with the default channel of channel 4 (logbuffer) and the
default buffer size of 512.
Note that the info-center logbuffer 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 log buffer through channel 4, and set the log buffer
size to 50.
<Sysname> system-view
[Sysname] info-center logbuffer size 50
info-center logfile enable
Syntax
info-center logfile enable
undo info-center logfile enable
View
System view
Default level
2: System level
Parameters
None
Description
Use the info-center logfile enable command to enable the output of system information to the log file.
Use the undo info-center logfile enable command to disable the output of system information to the log
file.