System Information Format - H3C S3100 Series Operation Manual

H3c s3100 series ethernet switches operation manual
Hide thumbs Also See for S3100 Series:
Table of Contents

Advertisement

To sum up, the major task of the information center is to output the three types of information of the
modules onto the ten channels in terms of the eight severity levels and according to the user's settings,
and then redirect the system information from the ten channels to the six output directions.

System Information Format

The format of system information varies with the output destinations.
If the output destination is console, monitor terminal, logbuffer, trapbuffer, or SNMP, the system
information is in the following format:
timestamp sysname module/level/digest: - unitid –content
The space, the forward slash /, and the colon are all required in the above format.
Before <timestamp> may have %, "#, or * followed with a space, indicating log, alarm, or debugging
information respectively.
Below is an example of the format of log information to be output to a monitor terminal:
%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.)
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):
<Int_16>timestamp sysname %%nnmodule/level/digest: source content
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
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.
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
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).
Host.
1-4

Advertisement

Chapters

Table of Contents
loading

Table of Contents