beautypg.com

Int_16 (priority), Timestamp, N. see – H3C Technologies H3C S3600 Series Switches User Manual

Page 979

background image

1-5

%Dec 6 10:44:55:283 2006 Sysname NTP/5/NTP_LOG:- 1 - NTP service enable

(“-1-“ indicates that the unit number of the device is 1.)

z

If the output destination is loghost, the switch and the log host use the syslog protocol. The system

information is in the following format according to RFC 3164 (The BSD Syslog Protocol):

timestamp sysname %%nnmodule/level/digest: source content

z

If the address of the log host is specified in the information center of the switch, when logs are

generated, the switch sends the logs to the log host in the above format. For detailed information,

refer to

Setting to Output System Information to a Log Host

.

z

There is the syslog process on the Unix or Linux platform, you can start the process to receive the

logs sent from the switch; in the Windows platform, you need to install the specific software, and it

will operate as the syslog host.

z

Some log host software will resolve the received information as well as its format, so that the log

format displayed on the log host is different from the one described in this manual.

What follows is a detailed explanation of the information fields involved:

Int_16 (Priority)

The priority is calculated using the following formula: facility*8+severity-1, in which

z

facility (the device name) defaults to local7 with the value being 23 (the value of local6 is 22, that of

local5 is 21, and so on).

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,

This manual is related to the following products: