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

Configuration Guide - Device Management

S1720, S2700, S5700, and S6720 V200R011C10

This document describes the principles and configurations of the Device Management features, and provides configuration examples of these features.
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 Debugging Messages to the Log Host

Configuring the Device to Output Debugging Messages to the Log Host

Context

After configuring the device to output debugging messages to a log host, you can view debugging messages saved on the log host to monitor device running.

Pre-configuration Tasks

There is a reachable route between the device and the log host.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run the following command as required.

    • Run info-center loghost ip-address [ channel { channel-number | channel-name } | facility local-number | language language-name | { vpn-instance vpn-instance-name | public-net } | local-time | log-counter { disable | enable } | port port | { source-ip source-ip-address } | transport { udp | tcp ssl-policy policy-name } ] *

      The device is configured to output debugging messages to the IPv4 log host.

    • Run info-center loghost ipv6 ipv6-address [ channel { channel-number | channel-name } | facility local-number | language language-name | local-time | log-counter { disable | enable } | port port | transport { udp | tcp ssl-policy policy-name } ] *

      The device is configured to output debugging messages to the IPv6 log host.

    • Run info-center loghost domain domain-name [ vpn-instance vpn-instance-name ] [ channel { channel-number | channel-name } | facility local-number | language language-name } | log-counter { disable | enable } | local-time | port port | transport { udp | tcp ssl-policy policy-name } ] *

      The device is configured to output debugging messages to the log host with the specified domain name.

    By default, the device does not output debugging messages to a log host.

    The device can output debugging messages to eight log hosts (IPv4 and IPv6 hosts) to implement backup among log hosts.

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

    A rule for outputting debugging messages to a channel is set.

    By default, channel 2 is disabled to output debugging messages and the lowest severity is debugging.

  4. (Optional) Run info-center loghost source interface-type interface-number

    The source interface used by the device to send messages to a log host is specified.

    By default, the source interface for a device to send messages to a log host is the actual interface that sends the messages.

    After the source interface is specified, the log host determines the device that sends messages. The log host then can easily retrieve received messages.

  5. (Optional) Run info-center loghost source-port source-port

    The source interface number used by the device to send messages to a log host is configured.

    By default, the device sends messages to a log host using interface 38514.

Translation
Download
Updated: 2019-03-28

Document ID: EDOC1000178167

Views: 194919

Downloads: 940

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