System information format – H3C Technologies H3C SecBlade NetStream Cards User Manual

Page 277

Advertising
background image

262

Output

destinatio

n

Modules

allowed

LOG TRAP

DEBUG

Enabled/

disabled

Severity

Enabled/

disabled

Severity

Enabled/

disabled

Severity

Log buffer

default (all

modules)

Enabled

Informatio

nal

Disabled Debug Disabled Debug

SNMP
module

default (all
modules)

Disabled Debug Enabled

Informatio
nal

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.

1.

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

2.

If the output destination is the log host, the system information is in one of the following formats:

H3C format

<PRI>timestamp sysname %%vvmodule/level/digest: source content

For example, if a log host is connected to the device, when a terminal logs in to the device, the following
log information is displayed on the log host:

<189>Oct 9 14:59:04 2009 MyDevice %%10SHELL/5/SHELL_LOGIN(l):VTY logged in from
192.168.1.21.

UNICOM format

<PRI>timestamp sysname vvmodule/level/serial_number: content

For example, if a log host is connected to the device, when a port of the device goes down, the following
log information is displayed on the log host:

<186>Oct 13 16:48:08 2000 H3C 10IFNET/2/210231a64jx073000020:
log_type=port;content=Vlan-interface1 link status is DOWN.
<186>Oct 13 16:48:08 2000 H3C 10IFNET/2/210231a64jx073000020: log_type=port;content=Line
protocol on the interface Vlan-interface1 is DOWN.

NOTE:

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

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 log resolution tools you use.

What follows is a detailed explanation of the fields involved:

Advertising