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

Fat AP and Cloud AP V200R008C00 CLI-based Configuration Guide

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 5-1 lists information classification.
Table 5-1  Information classification
Information Type Description

Log

Logs record user operations, system faults, and system security. Logs include user logs, and diagnostic logs.
  • User logs: record user operations and system operating information.
  • 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 5-2 lists severities.

Table 5-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 5-2.

Figure 5-2  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 5-3 lists relationships between default channels and output directions.

Table 5-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, and debugging messages. The information is saved to the log host in file format for easy reference.

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, and debugging messages.

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 output severity

Information Output Format

  • Output format of logs

    Figure 5-3 shows the format of logs.
    Figure 5-3  Output format of logs
    Table 5-4 describes each field in a log.
    Table 5-4  Description of each field in a log

    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

    Time to send logs.

    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.

    Logs use the date format.

    TimeZone

    Local zone.

    Indicates local time zone information. This information is consistent with the Time Zone field of the display clock command output.

    HostName

    Host name.

    -

    %%

    Huawei identifier.

    The log is output by Huawei products.

    dd

    Version number.

    Version number of the log.

    ModuleName

    Module name.

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

    Serverity

    Log severity.

    Log severity.

    Brief

    Brief description.

    Brief description about logs.

    (l)

    Information type.

    The information types are as follows:

    • l: log.

    • D: debugging log.

    DDD

    Log sequence number.

    By default, the information center can output logs to the console, log buffer, SNMP agent, and log file. In the logbuffer, the value depends on the log buffer size. For example, the log buffer can store a maximum of 100 logs. The log sequence number ranges from 0 to 99.

    Description

    Description.

    Log content.

  • Trap output format

    Figure 5-4 shows the trap output format.
    Figure 5-4  Trap output format

    Table 5-5 describes each field in a trap.

    Table 5-5  Description of each field in a trap

    Field

    Description

    Remarks

    #

    Information type.

    The number sign (#) indicates a trap and only appears in the trapbuffer.

    TimeStamp

    Timestamp, that is, time to output log 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 hh:mm:ss yyyy 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.

    Traps use the date format.

    TimeZone

    Local zone.

    Indicates local time zone information. This information is consistent with the Time Zone field of the display clock command output.

    HostName

    Host name.

    The host name and module name are separated by a space.

    ModuleName

    Module name.

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

    Severity

    Severity.

    Trap severity.

    Brief

    Brief description.

    Brief description about traps.

    Description

    Description.

    Trap content.

Translation
Download
Updated: 2019-01-11

Document ID: EDOC1000176006

Views: 130540

Downloads: 312

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