Got it

How to configure a log host?

Latest reply: May 8, 2020 11:30:11 3357 4 0 0 0

Hello, Community!


This post enquires about how to configure a log host. Please see below.


ISSUE DESCRIPTION


How to configure a log host?


Please assist me with the procedure of how to configure a log host. Thanks in advance!

ding
View more
  • x
  • convention:

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
View more
  • x
  • convention:

very useful
View more
  • x
  • convention:

thanks for take your time
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect 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 are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including 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 " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.