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


To have a better experience, please upgrade your IE browser.


Fat AP and Cloud 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).
ip host

ip host


The ip host command configures static DNS entries.

The undo ip host command deletes static DNS entries.

By default, no static DNS entries are configured.


ip host host-name ip-address

undo ip host host-name [ ip-address ]


Parameter Description Value

Specifies the host name.

The value is a string of 1 to 24 case-sensitive characters without spaces.

Specifies the IP address mapping the host name.

The value is in dotted decimal notation.


System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

A static domain name resolution table is manually set up using the ip host command, describing the mappings between host names and IP addresses. In addition, some common host names are added to the table. Then, static host name resolution can be performed according to the static domain name resolution table. When requiring the IP address corresponding to a host name, the client firstly searches the static host name resolution table for the specified host name and obtains the corresponding IP address. In this manner, the efficiency of host name resolution is improved.


The ip host command configures a maximum of 50 static DNS entries. Each host name can be mapped to only one IP address. When multiple IP addresses are mapped to a host name, only the latest configuration takes effect.


# Configure the IP address for the host test.

<Huawei> system-view
[Huawei] ip host test
Related Topics
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 201243

Downloads: 122

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