Reset Logbuffer; Reset Trapbuffer - H3C s3600 series Command Manual

Hide thumbs Also See for s3600 series:
Table of Contents

Advertisement

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 commands: info-center enable, display info-center.
Examples
# 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
Parameters
unit-id: Unit ID of the device.
Description
Use the reset logbuffer command to clear information recorded in the log buffer.
Examples
# Clear information recorded in the log buffer.
<Sysname> reset logbuffer

reset trapbuffer

Syntax
reset trapbuffer [ unit unit-id ]
View
User view
Parameters
unit-id: Unit ID of the device.
1-19

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents