< Home

info-center logbuffer

Function

The info-center logbuffer command enables the log buffer, sets the number of the channel for outputting log information and sets the size of the log buffer.

The undo info-center logbuffer command cancels the current settings.

Format

info-center logbuffer [ channel { channel-number | channel-name } | size buffersize ] *

undo info-center logbuffer [ channel | size ]

undo info-center logbuffer { channel { channel-number | channel-name } | size buffersize } *

Parameters

Parameter Description Value
channel Sets the channel for outputting the information to the log buffer. -
channel-number Specifies the channel number. It ranges from 0 to 9. That is, the system has 10 channels.
channel-name Specifies a channel name. -
size buffersize Specifies the size of the log buffer (the number of messages in the buffer). It is an integer ranging from 0 to 1024.

Views

System view

Default Level

3: Management level

Usage Guidelines

By default, allow to output the information the log buffer and the log buffer size is 512.

This command takes effect only when the information center is started up.

By setting the size of the logging buffer, you can control the output information in this direction.

Example

# Enable the FW to send information to the log buffer, and set the size of log buffer to 50.

<sysname> system-view
[sysname] info-center logbuffer size 50
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >