F3215-HP Load Balancing Module System Maintenance Command Reference-6PW101

39
info-center timestamp loghost
Use info-center timestamp loghost to configure the timestamp format for system information sent to the
log host.
Use undo info-center timestamp loghost to restore the default.
Syntax
info-center timestamp loghost { date | iso | no-year-date | none }
undo info-center timestamp loghost
Default
The timestamp format for system information sent to the log host is date.
Views
System view
Default command level
2: System level
Parameters
date: Set the timestamp format as "Mmm dd hh:mm:ss:ms yyyy", such as Dec 8 10:12:21:708 2012. The
actual format depends on the log host.
iso: Sets the ISO 8601 timestamp format. For example, 2012-09-21T15:32:55.
no-year-date: Sets the timestamp format as the current system date and time without year.
none: Indicates that no timestamp information is provided.
Examples
# Configure the timestamp format for system information sent to the log host as no-year-date.
<Sysname> system-view
[Sysname] info-center timestamp loghost no-year-date
Related commands
info-center timestamp
info-center trapbuffer
Use info-center trapbuffer to configure information output to the trap buffer.
Use undo info-center trapbuffer to disable information output to the trap buffer.
Syntax
info-center trapbuffer [ channel { channel-number | channel-name } | size buffersize ] *
undo info-center trapbuffer [ channel | size ]
Default
The system outputs information to the trap buffer through channel 3 (trapbuffer), and the maximum buffer
size is 256.
Views
System view