HP VPN Firewall Appliances System Management and Maintenance Command Reference

108
info-center timestamp
Use info-center timestamp to configure the timestamp format for system information sent to all
destinations except the log host.
Use undo info-center timestamp to restore the default.
Syntax
info-center timestamp { debugging | log | trap } { boot | date | none }
undo info-center timestamp { debugging | log | trap }
Default
The timestamp format for system information is date.
Views
System view
Default command level
2: System level
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 2 0 07. T h e 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 2007. 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