3Com MSR 50 Network Router User Manual


  Open as PDF
of 2742
 
2444 CHAPTER 163: INFORMATION CENTER CONFIGURATION COMMANDS
Use the undo info-center timestamp loghost command to restore the
default.
By default, the time stamp format for log information sent to the log host is date.
Example # Set not to include the year information in the output information to the log
host.
<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
Parameter size buffersize: Specifies the maximum number of trap messages in a trap buffer
in the range 0 to 1,024 with 256 as the default value.
channel-number: Specifies a channel number, in the range 0 to 9.
channel-name: Specifies a channel name, which could be a default name or one
that is defined by the user. The user needs to specify a channel name first before
using it as a self-defined channel name. For more information, refer to
“info-center channel name” on page 2432.
Description Use the
info-center trapbuffer command to enable information output to the
trap buffer and set the corresponding parameters.
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.
Note that the info-center trapbuffer command takes effect only after the
information center is enabled with the info-center enable command.
Example # Enable system to output information to the trap buffer with a default buffer size
of 30.
<Sysname> system-view
[Sysname] info-center trapbuffer size 30
logfile save
Syntax logfile save