< Home

info-center logbuffer

Function

The info-center logbuffer command enables the Switch to send logs to the log buffer.

The undo info-center logbuffer command disables the Switch from sending logs to the log buffer.

By default, the Switch is enabled to send logs to the log buffer.

Format

info-center logbuffer

undo info-center logbuffer

Parameters

None

Views

System view

Default Level

3: Management level

Usage Guidelines

To log in to a device and check the faults or problems during operation, run the info-center logbuffer command to enable the function to output logs to the log buffer. Then, you can view log information in the log buffer.

By configuring the size of the log buffer using the info-center logbuffer size buffersize command, you can view information about specified logs.

By configuring the number or name of a channel through which a device sends logs to the log buffer using the info-center logbuffer channel { channel-number | channel-name } command, you can send log information through a specified channel to the log buffer.

Example

# Enable the Switch to send logs to the log buffer.

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