Switch 7700 Command reference Guide, v2.0

Table Of Contents
Log Commands 463
Parameter
log: Log information.
trap: Trap information.
debugging: Debugging information.
boot: Time elapsing after system starts. Format: xxxxxx.yyyyyy, xxxxxx is the high
32 bits of the elapsed time (in milliseconds) after system starts, and yyyyyy is the
low 32 bits.
date: Current system date and time. It shows as yyyy/mm/dd-hh:mm:ss in
Chinese environment and
mm/dd/yyyy-hh:mm:ss in Western language
environment.
None: No timestamp format.
Description
Using the info-center timestamp command, you can configure the timestamp
output format in debugging/trap information. Using the
undo info-center
timestamp
command, you can disable the output of timestamp field.
By default, datetime stamp is used.
Example
Configure the debugging information timestamp format as boot.
[SW7700]info-center timestamp debugging boot
info-center trapbuffer Syntax
info-center trapbuffer [ max-size buffersize ] [ channel {
channel-number | channel-name } ]
undo info-center trapbuffer
View
System view
Parameter
size: Configure the size of the trap buffer.
buffersize: Size of trap buffer (numbers of messages).
channel: Configure the channel to output information to trap buffer.
channel-number: Channel number, ranging from 0 to 9, that is, the system has
ten channels.
channel-name: Specify the channel name.