System information format – H3C Technologies H3C S5120 Series Switches User Manual

Page 648

Advertising
background image

1-5

LOG

TRAP

DEBUG

Output

destinati

on

Modules

allowed

Enabled/

disabled

Severity

Enabled/

disabled

Severity

Enabled/

disabled

Severity

Log host

default
(all
modules)

Enabled

Informatio
nal

Enabled Debug Disabled Debug

Trap
buffer

default
(all
modules)

Disabled

Informatio
nal

Enabled Warning Disabled Debug

Log buffer

default
(all
modules)

Enabled Warning Disabled Debug

Disabled Debug

SNMP
module

default
(all
modules)

Disabled Debug

Enabled Warning Disabled

Debug

Web
interface

default
(all
modules)

Enabled Debug Enabled Debug Disabled Debug

Log file

default
(all
modules)

Enabled Debug Enabled Debug Disabled Debug

System Information Format

The format of system information varies with the output destinations.

z

If the output destination is not the log host (such as console, monitor terminal, logbuffer, trapbuffer,

SNMP, or log file), the system information is in the following format:

timestamp sysname module/level/digest:content

For example, a monitor terminal connects to the device. When a terminal logs in to the device, the log

information in the following format is displayed on the monitor terminal:

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

z

If the output destination is the log host, 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

z

The closing set of angel brackets < >, the space, the forward slash /, and the colon are all required

in the above format.

z

The format in the previous part is the original format of system information, so you may see the

information in a different format. The displayed format depends on the tools you use to view the

logs.

What follows is a detailed explanation of the fields involved:

Advertising