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

CX11x, CX31x, CX710 (Earlier Than V6.03), and CX91x Series Switch Modules V100R001C10 Configuration Guide 12

The documents describe the configuration of various services supported by the CX11x&CX31x&CX91x series switch modules The description covers configuration examples and function configurations.
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).
Principles

Principles

This section describes implementation of information center feature.

The information center receives information generated by the device and controls information output based on defined severity.

Information Classification

The device generates three types of messages: logs, traps, and debugging messages. Table 3-1 lists information classification.
Table 3-1 Information classification
Information Type Description

Log

Logs record user operations, system faults, and system security. Logs include user logs, security logs, and diagnostic logs.
  • User logs: record user operations and system operating information.
  • Security logs: record security information including user account management, protocols, attack defense, and status.
  • Diagnostic logs: record information used for fault location.

Trap

Traps are notifications generated when the device detects faults. Traps record system status information.

Different from logs, traps need to be notified to administrators in a timely manner.

Debugging message

Debugging messages show internal operating information of the system and help you trace the device running status.

Debugging messages are generated only after the debugging of a module is enabled.

Information Hierarchy

If too much information is generated, it is difficult to differentiate information about normal operation and information about faults. Through information hierarchy, users do not need to handle unwanted information.

Information has eight severities. The lower the severity level, the more severe the information. Table 3-2 lists severities.

Table 3-2 Description of information severities

Value

Severity

Description

0

Emergencies

A fault causes the device to fail to run normally unless it is restarted. For example, the device restarts because of a program exception or a fault about memory usage.

1

Alert

A fault needs to be rectified immediately. For example, memory usage of the system reaches the upper limit.

2

Critical

A fault needs to be analyzed and processed. For example, the memory usage falls below the lower threshold; BFD detects that a device is unreachable.

3

Error

An improper operation is performed or exceptions occur during service processing. The fault does not affect services but needs to be analyzed. For example, users enter incorrect commands or passwords; error protocol packets are received.

4

Warning

Some events or operations may affect device running or cause service processing faults, which requires full attention. For example, a routing process is disabled; BFD detects packet loss; error protocol packets are detected.

5

Notification

A key operation is performed to keep the device running normally. For example, the shutdown command is run; a neighbor is discovered; protocol status changes.

6

Informational

A normal operation is performed. For example, a display command is run.

7

Debugging

A normal operation is performed, which requires no attention.

When information filtering based on severity levels is enabled, only the information whose severity level threshold is less than or equal to the configured value is output.For example, if the severity level value is configured to 6, only information with a severity level ranging from 0 to 6 is output.

Information Output

Information generated by the device can be output to the remote terminal, console, log buffer, log file, and SNMP agent. To output information in different directions, 10 information channels are defined for the information center. These channels work independently from one another. You can configure output rules so that information can be output from different objects to different objects based on types and severities, as shown in Figure 3-1.

Figure 3-1 Information center

By default, logs, traps, and debugging messages are output from default channels. You can change channel names or relationships between channels and output directions as required. For example, the name of channel 6 is user1 and channel 6 is used to send information to the log host. The information sent to the log host is output from channel 6 but not channel 2.

Table 3-3 lists relationships between default channels and output directions.

Table 3-3 Relationship between default channels and output directions

Channel Number

Default Channel Name

Output Direction

Description

0

Console

Console

Outputs logs, traps, and debugging messages to the local console.

1

Monitor

Remote terminal

Outputs logs, traps, and debugging messages to the VTY terminal for remote maintenance.

2

loghost

Log host

Outputs logs, traps. The information is saved to the log host in file format for easy reference.

You can configure SSL policies on the switch to ensure security of logs sent to log hosts.

3

trapbuffer

Trap buffer

Outputs traps.

4

logbuffer

Log buffer

Outputs logs.

5

snmpagent

SNMP agent

Outputs traps.

6

channel6

Unspecified

Reserved. You can specify an output destination for this channel.

7

channel7

Unspecified

Reserved. You can specify an output destination for this channel.

8

channel8

Unspecified

Reserved. You can specify an output destination for this channel.

9

channel9

Logfile

Outputs logs, traps.

Information Filtering

To control information output flexibly, the information center provides the information filtering function. After the device works properly, each module reports information during service processing. To filter unwanted information about a service module or of certain severity, configure the filtering function.

The information center filters information in a channel through the information filtering table. The information filtering table is used to filter information output to different directions based on information types, severities, and sources.

The content of the information filtering table is as follows:

  • Number of the module that generates information

  • Log output status

  • Log output severity

  • Trap output status

  • Trap output severity

  • Debugging message output status

  • Debugging message severity

Information Output Format

Figure 3-2 shows the information format.
Figure 3-2 Information output format
Table 3-4 describes each field.
Table 3-4 Information format

Field

Description

Remarks

<Int_16>

Leading character.

This character is added to the information to be sent to the syslog server, not the information saved on a local device.

TimeStamp

Timestamp, that is, time to output information.

Five timestamp formats are available:

  • boot: indicates that the timestamp is expressed in the format of relative time, a period of time since system start. The format is xxxxxx.yyyyyy. xxxxxx is the higher order 32 bits of the milliseconds elapsed since the start of the system; yyyyyy is the lower order 32 bits of the milliseconds elapsed since the start of the system.

  • date: indicates the current date and time. It is expressed in mm dd yyyy hh:mm:ss format.

  • short-date: indicates the short date. This timestamp differs from date is that the year is not displayed.

  • format-date: indicates that the timestamp is expressed in YYYY-MM-DD hh:mm:ss format.

  • none: indicates that no timestamp is contained in information.

The timestamp and the host name are separated by a space.

HostName

Host name.

-

%%

Huawei identifier.

The information is output by Huawei products.

dd

Version number.

Version number of the information.

ModuleName

Module name.

Name of the module that outputs information to the information center.

Severity

Information severity.

Information severity.

Brief

Brief description.

Brief description about information.

(l)

Information type.

The information types are as follows:

  • l: log.

  • t: trap.

CID=ZZZ

Component ID.

Identifies an internal component to which the information belongs. ZZZ indicates the system component ID.

Description

Description.

Information content.

Translation
Download
Updated: 2019-08-09

Document ID: EDOC1000041694

Views: 59578

Downloads: 3623

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