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

S600-E V200R013C00 Configuration Guide - Device Management

This document describes the configurations of Device Management, including device status query, hardware management, Stack, SVF, cloud-based management, PoE, OPS, energy-saving management, information center, fault management, NTP.
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 Logs to a Log Host

Configuring the Device to Output Logs to a Log Host

Context

After configuring the device to output logs to a log host, you can view logs 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 logs 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 logs 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 logs to the log host with the specified domain name.

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

    The device can output logs 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 } log { state { off | on } | level severity } *

    A rule for outputting logs to a channel is set.

    By default, channel 2 is enabled to output logs and the lowest log severity is informational.

  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-04-20

Document ID: EDOC1100066159

Views: 26091

Downloads: 3

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