Info-Center Trapbuffer; Reset Logbuffer - H3C S3100 Series Command Manual

Hide thumbs Also See for S3100 Series:
Table of Contents

Advertisement

info-center trapbuffer

Syntax
info-center trapbuffer [ channel { channel-number | channel-name } | size buffersize ]*
undo info-center trapbuffer [ channel | size ]
View
System view
Parameter
size: Sets the size of the trap buffer.
buffersize: Size of the trap buffer, represented by the number of messages it holds. It ranges from 0 to
1,024 and defaults to 256.
channel: Sets the channel through which information is output to the trap buffer.
channel-number: Channel number, ranging from 0 to 9, corresponding to the 10 channels of the system.
channel-name: Channel name. By default, the name of channel 0 to channel 9 is (in turn) console,
monitor, loghost, trapbuffer, logbuffer, snmpagent, channel6, channel7, channel8, channel9.
Description
Use the info-center trapbuffer command to enable information output to the trap buffer.
Use the undo info-center trapbuffer command to disable information output to the trap buffer.
By default, information output to the trap buffer is enabled with channel 3 (trapbuffer) as the default
channel and a maximum buffer size of 256.
This command takes effect only after the information center function is enabled.
Related command: info-center enable, display info-center.
Example
# Enable the system to output trap information to the trap buffer, whose size is set to 30.
<Sysname>
system-view
System View: return to User View with Ctrl+Z.
[Sysname] info-center trapbuffer size 30

reset logbuffer

Syntax
reset logbuffer [ unit unit-id ]
View
User view
Parameter
unit-id: Unit ID of the device, the value can only be 1.
Description
Use the reset logbuffer command to clear information recorded in the log buffer.
Example
# Clear information recorded in the log buffer.
1-16

Advertisement

Table of Contents
loading

Table of Contents