< Home

info-center trapbuffer

Function

The info-center trapbuffer command enables the alarm buffer, sets the channel for outputting the alarm information and sets the size of the alarm buffer.

The undo info-center trapbuffer command cancels the current configuration.

Format

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

undo info-center trapbuffer [ channel | size ]

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

Parameters

Parameter Description Value
channel Sets the channel for outputting information to the alarm 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. The name is a string of 1 to 30 case-insensitive characters without spaces, hyphens (-), slashes (\), and anti-slashes (/).
size Sets the size of the alarm buffer. -
buffersize Sets the size of the alarm buffer (the amount of information 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 information to the alarm buffer. The size of the alarm buffer is 256.

This command takes effect only after the information center is enabled.

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

Example

# Enable the FW to send information to the alarm buffer and set the size of the alarm buffer to 30.

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