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

CloudEngine 12800 and 12800E V200R005C10

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 Host

Configuring the Device to Output Traps to a Log Host

Context

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

NOTE:

The device can use the SSL protocol to encrypt the traps sent to the log host. It is recommended that you use this log transmission mode to enhance security.

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 } | { public-net | vpn-instance vpn-instance-name } | source-ip source-ip-address | facility local-number | port port-number | level info-level | { local-time | utc } | transport { udp | tcp [ ssl-policy policy-name ] } | brief ] *

      The device is configured to output traps to the IPv4 log host.

    • Run info-center loghost ipv6 ipv6-address [ channel { channel-number | channel-name } | { public-net | vpn-instance vpn-instance-name } | facility local-number | port port-number | level info-level | { local-time | utc } | transport { udp | tcp [ ssl-policy policy-name ] } | brief ] *

      The device is configured to output traps to the IPv6 log host.

    • Run info-center loghost domain domain-name [ channel { channel-number | channel-name } | { public-net | vpn-instance vpn-instance-name } | facility local-number | port port-number | level info-level | { local-time | utc } | transport { udp | tcp [ ssl-policy policy-name ] } | brief ] *

      The device is configured to output traps to a log host with the specified domain name.

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

  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 2 is enabled to output traps 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.

  6. Run commit

    The configuration is committed.

Translation
Download
Updated: 2019-04-20

Document ID: EDOC1100074722

Views: 15218

Downloads: 18

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