R3721-F3210-F3171-HP High-End Firewalls System Management and Maintenance Command Reference-6PW101
109
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:
% Sysname IFNET/4/LINK UPDOWN:
GigabitEthernet0/1: link status is DOWN
info-center timestamp loghost
Syntax
info-center timestamp loghost { date | iso | no-year-date | none }
undo info-center timestamp loghost
View
System view
Default level
2: System level
Parameters
date: Set the time stamp format as "Mmm dd hh:mm:ss:ms yyyy". The actual format depends on the log
host.
iso: Sets the ISO 8601 time stamp format. For example, 2009-09-21T15:32:55.
no-year-date: Sets the time stamp format as the current system date and time without year.
none: Indicates that no time stamp information is provided.
Description
Use info-center timestamp loghost to configure the time stamp format of the system information sent to the
log host.
Use undo info-center timestamp loghost to restore the default.
By default, the time stamp format for system information sent to the log host is date.
Related commands: info-center timestamp.
Examples
# Configure that the system information output to the log host does not include the year information.
<Sysname> system-view
[Sysname] info-center timestamp loghost no-year-date
info-center trapbuffer
Syntax
info-center trapbuffer [ channel { channel-number | channel-name } | size buffersize ] *
undo info-center trapbuffer [ channel | size ]
View
System view
Default level
2: System level