R3721-F3210-F3171-HP High-End Firewalls System Management and Maintenance Command Reference-6PW101
108
Parameters
debugging: Sets the time stamp format for debug information.
log: Sets the time stamp format for log information.
trap: Sets the time stamp format for trap information.
boot: Set the time stamp 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 : 0 9: 26 : 8 81 2 0 07. T he boot time shows the time since system startup.
date: Set the time stamp 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.
Description
Use info-center timestamp to configure the time stamp format of the system information sent to all
destinations except log host.
Use undo info-center timestamp to restore the default.
By default, the time stamp format for system information sent to a log host is set by the info-center
timestamp loghost command, and that for system information sent to other destinations is date.
Related commands: info-center timestamp loghost.
Examples
# Configure the time stamp format for log information as boot.
<Sysname> system-view
[Sysname] info-center timestamp log boot
At this time, if you execute the shutdown command on GigabitEthernet 0/1 that is in UP state, the log
information generated is as follows:
%0.1382605158 Sysname IFNET/4/LINK UPDOWN:
GigabitEthernet0/1: link status is DOWN
# Configure the time stamp format for log information as date.
<Sysname> system-view
[Sysname] info-center timestamp log date
At this time, if you execute the shutdown command on GigabitEthernet 0/1 that is in UP state, the log
information generated is as follows:
%Sep 29 17:19:11:188 2007 Sysname IFNET/4/LINK UPDOWN:
GigabitEthernet0/1: link status is DOWN
# Configure the time stamp format for log information as none.
<Sysname> system-view
[Sysname] info-center timestamp log none