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

Fit AP V200R010C00 Command Reference

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).
info-center loghost

info-center loghost

Function

The info-center loghost command configures the device to output information to a log host.

The undo info-center loghost command disables the device from outputting information to a log host.

By default, no information is output to the log host.

Format

info-center loghost ip-address [ channel { channel-number | channel-name } | facility local-number | language language-name | port port ] *

info-center loghost ipv6 ipv6-address [ channel { channel-number | channel-name } | facility local-number | { language language-name | binary [ port ] } ] *

info-center loghost domain domain-name [ channel { channel-number | channel-name } | facility local-number | language language-name | port port ] *

undo info-center loghost ip-address

undo info-center loghost ipv6 ipv6-address

undo info-center loghost domain domain-name

Parameters

Parameter Description Value
ip-address Specifies the IPv4 address of the log host. The value is in dotted decimal notation.
channel { channel-number | channel-name } Specifies the channel used to send information to a log host.
  • channel-number: specifies the number of a channel.
  • channel-name: specifies the name of a channel. The name can be the default or user-defined channel name.

The value of channel-number is an integer that ranges from 0 to 9.

The value of channel-name is a string of 1 to 30 case-sensitive characters. The value consists of letters or numbers and must start with a letter.

facility local-number Specifies a syslog server facility that is used to identify the log information source. You can use this parameter to plan a local value for the log information of a specified device, so that the syslog server can handle received log information based on the parameter. The value ranges from local0 to local7. The default value is local7.
language language-name Displays the language in which logs are recorded. By the default, the language mode is English.
port Specifies the number of the port that sends logs.

The value is an integer that ranges from 1 to 65535. The default value is 514.

ipv6 ipv6-address Specifies the IPv6 address of the log host. The value is a 32-digit hexadecimal number.
domain domain-name

Specifies a DNS domain name of a log host.

The value is a string of 1 to 255 case-sensitive characters, spaces not supported.

Views

System view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

To query information generated on the AP deployed remotely, configure the AP to export information to a log host so that you can view device information on the log host. Run the info-center loghost command to configure the AP to export information to a log host.

To configure the AP to output information to different log hosts using different channels, specify the channels used to send information to the log hosts. For example, you can configure the AP to output information to log hosts at 192.168.0.1 and 192.168.0.2 using channels 7 and 8 respectively.

Prerequisites

The information center has been enabled using the info-center enable command and the log host IP address has been obtained.

Precautions

The AP supports a maximum of eight log hosts including IPv4 and IPv6 hosts to implement backup among log hosts.

Example

# Configure a device to use channel 6 to output information to the log host at 10.1.1.1.

<Huawei> system-view
[Huawei] info-center loghost 10.1.1.1 channel channel6 

# Configure the AP to send information to the log host at 2001:db8:1::1/64.

<Huawei> system-view
[Huawei] info-center loghost ipv6 2001:db8:1::1
Translation
Download
Updated: 2019-07-18

Document ID: EDOC1100064353

Views: 126001

Downloads: 98

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