1-5
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,
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