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


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

Configuration Guide - Device Management
CloudEngine 12800 and 12800E V200R003C00

This document describes the configurations of Device Management, including device status query, hardware management, Information Center Configuration, NTP, Synchronous Ethernet Configuration, Fault Management Configuration, Energy-Saving Management Configuration, Performance Management Configuration, Maintenance Assistant Configuration, and OPS Configuration.

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).
Configuring the Device to Output Traps to a Log File

Configuring the Device to Output Traps to a Log File


After traps are output to a log file, you can view the log file anytime to monitor device running based on the traps.


  1. Run system-view

    The system view is displayed.

  2. Run info-center logfile channel { channel-number | channel-name }

    A channel through which traps are output to a log file is specified.

    By default, the device uses channel 9 to output traps to a log file.

  3. Run info-center source { module-name | default } channel { channel-number | channel-name } trap { state { off | on } | level severity } *

    A rule for outputting traps to a channel is set.

    By default, channel 9 is enabled to output traps and the lowest severity is debugging.

  4. (Optional) Run info-center logfile size size

    The log file size is set.

    By default, the log file size is 8 MB.

    If the size of a log file generated on the device exceeds the configured log file size, the system decompresses the log file into a zip file.

    You can run the save logfile command to manually save traps in the log file buffer to a log file.

  5. (Optional) Run info-center max-logfile-number filenumbers

    The maximum number of log files that can be saved is set.

    By default, a maximum of 200 log files can be saved.

    If the number of log files generated on the Switch exceeds the limit, the system deletes the oldest log file.

  6. Run commit

    The configuration is committed.

Updated: 2019-05-05

Document ID: EDOC1100004193

Views: 77511

Downloads: 27

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next