How to Configure a Log Host?

Created Apr 12, 2017 08:39:43Latest reply Apr 12, 2017 14:02:06 1863 2 0 0
How to Configure a Log Host?
  • x
  • convention:

user_2790689  Expert   Created Apr 12, 2017 13:42:17 Helpful(0) Helpful(0)

ding
  • x
  • convention:

Adamcolob     Created Apr 12, 2017 14:02:06 Helpful(0) Helpful(0)

You can run the following command to configure a log host:

On an IPv4 network, run the info-center loghost ipv4-address [ { public-net | vpn-instance vpn-instance-name } | channel { channel-number | channel-name } | source-ip source-ip-address | facility local-number | port port-number | level log-level | { local-time | utc } | transport { udp | tcp [ ssl-policy policy-name ] } ] * command.
On an IPv6 network, run the info-center loghost ipv6 ipv6-address [ facility local-number | channel { channel-number | channel-name } | port port-number | level log-level | { local-time | utc } | transport { udp | tcp [ ssl-policy policy-name ] } ] * command.
By default, the device does not output logs to any log host.

The system can output logs to a maximum of eight log hosts at the same time. This allows backup among log hosts.

After a log host is configured, you can send logs in the standard format of SYSLOG to the log host for parsing and display.

For example:

# Configure the HUAWEI NetEngine5000E to send log messages to the log host with its IP address being 192.168.0.1.

[~HUAWEI] info-center loghost 192.168.0.1[~HUAWEI] commit
  • x
  • convention:

Responses

Reply
You need to log in to reply to the post Login | Register

Notice:To ensure the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but not limited to politically sensitive content, content concerning pornography, gambling, drug abuse and trafficking, content that may disclose or infringe upon others' intellectual properties, including commercial secrets, trade marks, copyrights, and patents, and personal privacy. Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see“ Privacy Policy.”
If the attachment button is not available, update the Adobe Flash Player to the latest version!
Fast reply Scroll to top