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

Troubleshooting Guide

CloudEngine 16800, 12800, 12800E, 8800, 7800, 6800, and 5800 Series Switches

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).
Logs

Logs

During device operation, the log module records operations and events on the device. The recorded operations and events are log messages.

The generated logs can be viewed through the Console port or Telnet, or stored to the log server through the syslog protocol.

The syslog protocol is transmitted through UDP port 514. Any UDP datagram on port 514 is recorded in the log.

Logs can be viewed in two ways:
  • Display logs on the GUI of the NMS.
  • Run the display logbuffer [ starttime starttime [ endtime endtime ] | level { severity | level } | size size ] * command to view logs in the log buffer.

Collecting Log Information

When a device is faulty, collect the log information on the device immediately. The log information helps you know what had happened during device operation and where the fault occurred.

Logs, including user logs and diagnostic logs, record user operations, system faults, and system security. To obtain user logs and diagnostic logs on the device, run the following commands:

<HUAWEI> save logfile                                    //Collect common user logs.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] save logfile diagnose-log             //Collect diagnostic logs.
[~HUAWEI-diagnose] collect diagnostic information       //Collect diagnostic information of the operating system.

After the preceding configurations are complete, upload all files in flash:/logfile/ to your computer through FTP or TFTP.

Translation
Download
Updated: 2020-01-07

Document ID: EDOC1000060766

Views: 606140

Downloads: 2941

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next