Timestamp, Sysname – H3C Technologies H3C S3100 Series Switches User Manual

Page 791

Advertising
background image

1-5

z

severity (the information level) ranges from 1 to 8.

Table 1-1

details the value and meaning

associated with each severity.

Note that the priority field appears only when the information has been sent to the log host.

Timestamp

Timestamp records the time when system information is generated to allow users to check and identify

system events.

Note that there is a space between the timestamp and sysname (host name) fields.

The time stamp has the following two formats.

1) Without the universal time coordinated (UTC) time zone, the time stamp is in the format of “Mmm

dd hh:mm:ss:ms yyyy”.

2) With the UTC time zone, the time stamp is in the format of “Mmm dd hh:mm:ss:ms yyyy [GMT +|-

hh:mm:ss]”.

Each field is described as follows:

z

“Mmm” represents the month, and the available values are: Jan, Feb, Mar, Apr, May, Jun, Jul, Aug,

Sep, Oct, Nov, and Dec.

z

“dd” is the date, which shall follow a space if less than 10, for example, “ 7”.

z

“hh:mm:ss:ms” is the local time, where “hh” is in the 24-hour format, ranging from 00 to 23, both

“mm” and ”ss” range from 00 to 59, “ms” ranges from 000 to 999. (Note that: the time stamp of the

system information sent from the information center to the log host is with a precision of seconds,

while that of the system information sent from the system center to the Console, monitor terminal,

logbuffer, trapbuffer and the SNMP is with a precision of milliseconds.)

z

“yyyy” is the year.

z

“[GMT +|- hh:mm:ss]” is the UTC time zone, which represents the time difference with the

Greenwich standard time.

Because switches in a network may distribute in different time zones, when the time displayed in the

time stamps of output information is the local time on each switch, it is not so convenient for you to

locate and solve problems globally. In this case, you can configure the information center to add UTC

time zone to the time stamp of the output information, so that you can know the standard time when the

information center processing each piece of information. That is, you can know the Greenwich standard

time of each switch in the network based on the UTC record in the time stamp.

To add UTC time zone to the time stamp in the information center output information, you must:

z

Set the local time zone

z

Set the time stamp format in the output destination of the information center to date

z

Configure to add UTC time zone to the output information

After the above configuration, the UTC time zone will be displayed in the output information, like the

following:

%Dec 8 10:12:21:708 2006 [GMT+08:00:00] Sysname SHELL/5/LOGIN:- 1 - VTY(1.1.0.2) in unit1

login

Sysname

Sysname is the system name of the local switch and defaults to “H3C”.

You can use the sysname command to modify the system name. Refer to the System Maintenance and

Debugging part of this manual for details)

Advertising