No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

S12700 V200R013C00 Log Reference

This document provides the explanations, causes, and recommended actions of logs on the product.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Introduction

Introduction

The log module of the host software records operations on a device and events that occur on a device. The recorded operations and events are log messages.

Log messages provide evidence for diagnosing and maintaining a system. Log messages reflect the operating status of a device and are used to analyze the conditions of a network and to find out the causes of network failure or faults.

After logging in to a device through the console port or in telnet mode, you can display log messages stored on the log buffer by using the display logbuffer command and save the log messages on the device. Log messages can be output to a log server with the support of the SYSLOG protocol.

Log Message Format Description

Format of Log Message

The SYSLOG protocol uses UDP port 514 to transmit log messages. Any UDP packet on port 514 is considered a log message. The output format of a log message is shown in Figure 3-1. The log format on a switch is shown in Figure 3-1.
Figure 3-1  Output format of a Log message

Fields

Field

Description

TimeStamp

UTC

It is the time when a log message is generated and sent to the log host. By default, it is the coordinated universal time (UTC), which can be configured to the host time.

TimeStamp and HostName are separated by a space.

HostName

It is the system name of a local host. The default HostName is HUAWEI.

HostName and ModuleName are separated by a space.

Huawei Identity

%% refers to the identity of Huawei, indicating that the log is produced by a Huawei product.

Version

dd is a two-digit number starting from 01. It specifies the version of a log format.

ModuleName

It specifies the module that generates log messages. ModuleName and Severity are separated by a slash (/).

Severity

Log messages are classified into eight severity levels, ranging from 0 to 7.

Severity and Brief are separated by a slash (/).

Brief

It is a phrase that summarizes information.

Log Flag

The flag (l) and Description are separated by a colon (:).

Count

It specifies the log serial number.

Slot=A,Vcpu=B

It indicates the system component ID to which a log belongs.The Slot and Vcpu fields are optional and are not involved in each log. The output format varies depending on the actual situation.

Description

It is a string of characters that describe a detailed log message. It is output by a module to the information center. It is filled in by a module at each output time.

Example

Aug 6 2011 20:34:46 HUAWEI %% 01 HWCM/5/EXIT(l)[1]: exit from configure mode

  • The log message was generated at UTC time 20:34:46, Aug 6, 2011.

  • The host name is HUAWEI.

  • The log message was sent by the HWCM module.

  • The severity level of this log message is 5.

  • The description of this log message is exit from configuration mode.

Jan 8 2013 03:58:15+07:00 HUAWEI %% 01 HWCM/5/EXIT(l)[1]: exit from configure mode

  • The log message was generated at the local host time 10:58:15, Jan 8, 2013.

  • The host name is HUAWEI.

  • The log message was sent by the HWCM module.

  • The severity level of this log message is 5.

  • The description of this log message is exit from configuration mode.

Log Severity Description

The severity level identifies the severity of a log message. Log messages are identified by eight severity levels. They are listed in the following table.

Level

Severity

Description

0

Emergency

Emergency condition

1

Alert

Errors needing immediate actions

2

Critical

Critical condition

3

Errors

Errors needing attention but not critical

4

Warnings

Warning condition, meaning errors are likely to occur

5

Notifications

Information requiring your attention

6

Informational

Generic prompt information

7

Debug

Debugging information

Translation
Download
Updated: 2019-04-09

Document ID: EDOC1100065665

Views: 5534

Downloads: 15

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next