470 CHAPTER 12: USING SYSTEM MANAGEMENT COMMANDS
info-center timestamp Syntax
info-center timestamp { log | trap | debugging } { boot | date | none
}
undo info-center timestamp { log | trap | debugging }
View
System view
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
Use the info-center timestamp command to configure the timestamp output
format in debugging/trap information. Use the
undo info-center timestamp
command to disable the output of timestamp field.
By default, datetime stamp is used.
Example
Configure the debugging information timestamp format as boot.
<SW5500>system-view
System View: return to User View with Ctrl+Z.
[SW5500]info-center timestamp debugging boot
[SW5500]
info-center trapbuffer Syntax
info-center trapbuffer [ size
buffersize
]
[ channel
{
channel-number
|
channel-name
}
]
undo info-center trapbuffer [ channel | size ]
View
System view
Parameter
size: Configure the size of the trap buffer.