R3166-R3206-HP High-End Firewalls System Management and Maintenance Command Reference-6PW101

86
none: Indicates no time information is provided.
Description
Use the info-center timestamp command to configure the timestamp format.
Use the undo info-center timestamp command to restore the default.
By default, the timestamp format of log, trap and debugging information is date.
Examples
# Configure the timestamp 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 Ethernet 1/1 that is in the UP state, the log
information generated is as follows:
%0.1382605158 Sysname IFNET/4/LINK UPDOWN:
Ethernet1/1: link status is DOWN
# Configure the timestamp 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 the 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 timestamp format for log information as none.
<Sysname> system-view
[Sysname] info-center timestamp log none
At this time, if you execute the shutdown command on GigabitEthernet 0/1 that is in the UP state, the log
information generated is as follows:
% Sysname IFNET/4/LINK UPDOWN:
GigabitEthernet0/1: link status is DOWN
info-center timestamp loghost
Syntax
info-center timestamp loghost { date | no-year-date | none }
undo info-center timestamp loghost
View
System view
Default level
2: System level
Parameters
date: Indicates the current system date and time, in the format of “Mmm dd hh:mm:ss:ms yyyy”. However,
the display format depends on the log host.
no-year-date: Indicates the current system date and time (year exclusive).