F3215-HP Load Balancing Module System Maintenance Command Reference-6PW101
38
Parameters
debugging: Sets the timestamp format for debug information.
log: Sets the timestamp format for log information.
trap: Sets the timestamp format for trap information.
boot: Set the timestamp format as xxxxxx.yyyyyy, where xxxxxx is the most significant 32 bits (in
milliseconds) and yyyyyy is the least significant 32 bits. For example, 0.21990989 equals Jun 25
14:09:26:881 2012. The boot time shows the time since system startup.
date: Set the timestamp format as "Mmm dd hh:mm:ss:sss yyyy", such as Dec 8 10:12:21:708 2012. The
date time shows the current system time.
• Mmm: Abbreviations of the months in English, which could be Jan, Feb, Mar, Apr, May, Jun, Jul,
Aug, Sep, Oct, Nov, or Dec.
• dd: Date, starting with a space if it is less than 10, for example " 7".
• hh:mm:ss:sss: Local time, with hh ranging from 00 to 23, mm and ss ranging from 00 to 59, and sss
ranging from 0 to 999.
• yyyy: Year.
none: Indicates no time information is provided.
Examples
# Configure the timestamp format for log information as boot.
<Sysname> system-view
[Sysname] info-center timestamp log boot
At this time, if you log in to the FTP server by using the username ftp, the log information generated is as
follows:
%0.109391473 Sysname FTPD/5/FTPD_LOGIN: User ftp (192.168.1.23) has logged in
successfully.
# Configure the timestamp format for log information as date.
<Sysname> system-view
[Sysname] info-center timestamp log date
At this time, if you log in to the FTP server by using the username ftp, the log information generated is as
follows:
%May 30 05:36:29:579 2012 Sysname FTPD/5/FTPD_LOGIN: User ftp (192.168.1.23) has logged
in successfully.
# Configure the timestamp format for log information as none.
<Sysname> system-view
[Sysname] info-center timestamp log none
At this time, if you log in to the FTP server by using the username ftp, the log information generated is as
follows:
% Sysname FTPD/5/FTPD_LOGIN: User ftp (192.168.1.23) has logged in successfully.
Related commands
info-center timestamp loghost