R3303-HP HSR6800 Routers Network Management and Monitoring Command Reference
212
Usage guidelines
System information can be sent to a log host in HP or UNICOM format. For more information, see
Network Management and Monitoring Configuration Guide.
Examples
# Set the UNICOM format for system information sent to a log host.
<Sysname> system-view
[Sysname] info-center format unicom
info-center logbuffer
Use info-center logbuffer to configure information output to the log buffer.
Use undo info-center logbuffer to disable information output to the log buffer.
Syntax
info-center logbuffer [ channel { channel-number | channel-name } | size buffersize ] *
undo info-center logbuffer [ channel | size ]
Default
The system outputs information to the log buffer through channel 4 (logbuffer) and the default buffer size
is 10240.
Views
System view
Default command level
2: System level
Parameters
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.
buffersize: Specifies the maximum number of log messages that can be stored in the log buffer. The value
range is 0 to 10240, and the default is 10240.
Usage guidelines
The info-center logbuffer command takes effect only after the information center has been enabled with
the info-center enable command.
Examples
# Output system 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
Use info-center logfile enable to enable the log file feature.
Use undo info-center logfile enable to disable the log file feature.