Table 14, Table 15 – H3C Technologies H3C S6300 Series Switches User Manual

Page 89

Advertising
background image

76

Field Description

Serial number

Serial number of the device that generated the log.
This field exists only in logs in unicom format that are sent to the log host.

Sysname (host name or
host IP address)

The sysname is the host name or IP address of the device that generated the log.
You can use the sysname command to modify the name of the device.

%% (vendor ID)

Indicates that the information was generated by an H3C device.
This field exists only in logs sent to the log host.

vv (version information)

Identifies the version of the log, and has a value of 10.
This field exists only in logs that are sent to the log host.

Module

Specifies the name of the module that generated the log. You can enter the
info-center source ? command in system view to view the module list.

Level

Identifies the level of the log. See

Table 6

for more information about severity

levels.

Mnemonic

Describes the content of the log. It contains a string of up to 32 characters.

Source

Identifies the source of the log. It can take one of the following values:

IRF member ID.

IP address of the log sender.

Content

Provides the content of the log.

Table 14 Timestamp precisions and configuration commands

Item

Destined to the log host

Destined to the console, monitor

terminal, log buffer, and log file

Precision Seconds

Milliseconds

Command used
to set the

timestamp
format

info-center timestamp loghost

info-center timestamp

Table 15 Description of the timestamp parameters

Timestamp

parameters

Description Example

boot

Time that has elapsed since system startup, in
the format of xxx.yyy. xxx represents the

higher 32 bits, and yyy represents the lower
32 bits, of milliseconds elapsed.
Logs that are sent to all destinations other than
a log host support this parameter.

%0.109391473 Sysname
FTPD/5/FTPD_LOGIN: User ftp

(192.168.1.23) has logged in
successfully.
0.109391473 is a timestamp in the boot
format.

date

Current date and time, in the format of mmm
dd hh:mm:ss yyy for logs that are output to a

log host, or MMM DD hh:mm:ss:xxx YYYY for

logs that are output to other destinations.
All logs support this parameter.

%May 30 05:36:29:579 2003 Sysname
FTPD/5/FTPD_LOGIN: User ftp

(192.168.1.23) has logged in
successfully.
May 30 05:36:29:579 2003 is a
timestamp in the date format.

Advertising