Examples
# Configure the time stamp format for system information sent to the log host as no-year-date.
<Sysname> system-view
[Sysname] info-center timestamp loghost no-year-date
info-center trapbuffer
Syntax
info-center trapbuffer [ channel { channel-number | channel-name } | size buffersize ] *
undo info-center trapbuffer [ channel | size ]
View
System view
Default level
2: System level
Parameters
size buffersize: Specifies the maximum number of trap messages allowed in the trap buffer, in the range
of 0 to 1,024. The default value is 256.
channel-number: Specifies a channel by its number in the range of 0 to 9.
channel-name: Specifies a channel by its name, a default name or a self-defined name. For how to
configure a channel name, see info-center channel name.
Description
Use info-center trapbuffer to enable information output to the trap buffer and set the corresponding
parameters.
Use undo info-center trapbuffer to disable information output to the trap buffer.
By default, the system outputs information to the trap buffer through channel 3 (trapbuffer), and the
maximum buffer size is 256.
The info-center trapbuffer command takes effect only after the information center has been enabled with
the info-center enable command.
Examples
# Output system information to the trap buffer through the default channel, and set the trap buffer size to
30.
<Sysname> system-view
[Sysname] info-center trapbuffer size 30
reset logbuffer
Syntax
reset logbuffer
View
User view
49