System information formats, Formats, Field description – H3C Technologies H3C WX5500E Series Access Controllers User Manual

Page 47

Advertising
background image

39

System information formats

The following shows the original format of system information, which might be different from what you see.

The actual format depends on the log resolution tool you use.

Formats

The system information formats vary with output destionations. See

Table 4

.

Table 4 System information formats

Output destination

Format

Example

Console, monitor
terminal, logbuffer,

trapbuffer, SNMP
module, or log file

timestamp sysname
module/level/digest: content

%Jun 26 17:08:35:809 2013 Sysname
SHELL/4/LOGIN: VTY login from 1.1.1.1

Log host

H3C format:
<PRI>timestamp

Sysname %%vvmodule/level

/digest: source content

UNICOM format:

<PRI>timestamp Sysname

vvmodule/level/serial_numb

er: content

H3C format:
<189>Oct 9 14:59:04 2012

Sysname %%10SHELL/5/SHELL_LOGIN(l):
VTY logged in from 192.168.1.21

UNICOM format:

{

<186>Oct 13 16:48:08 2012 Sysname

10IFNET/2/210231a64jx073000020:

log_type=port;content=Vlan-interface1
link status is DOWN.

{

<186>Oct 13 16:48:08 2012 Sysname

10IFNET/2/210231a64jx073000020:
log_type=port;content=Line protocol on

the interface Vlan-interface1 is DOWN.

Field description

Field Description

PRI (priority)

The priority is calculated by using this formula: facility*8+level, where:

facility is the facility name. It can be configured with info-center loghost. It is

used to identify different log sources on the log host, and to query and filter logs

from specific log sources.

level ranges from 0 to 7.

Table 1

describes details the severity levels.

Note that the priority field is available only for information that is sent to the log
host.

Timestamp

The timestamp records the time when the log was generated.
Logs sent to the log host and those sent to the other destinations have different
precisions, and their timestamp formats are configured with different commands.

For more information, see

Table 5

and

Table 6

.

Sysname (host name or
host IP address)

If the system information that is sent to a log host is in the UNICOM format, and

the info-center loghost source command is configured, the sysname field is

displayed as the IP address of the device that generated the system information.

If the system information is in the H3C format, the field is displayed as the

system name of the device that generated the system information. You can use

the sysname command to modify the local system name. For more information,
see Fundamentals Command Reference.

Advertising