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).
dhcp server domain-name (interface view)

dhcp server domain-name (interface view)


The dhcp server domain-name command configures a DNS domain name assigned to a DHCP client.

The undo dhcp server domain-name command deletes a specified domain name.

By default, no domain name is configured for the DHCP client.


dhcp server domain-name domain-name

undo dhcp server domain-name


Parameter Description Value
domain-name Specifies the domain name that the DHCP server assigns to the client.

The value is a string of 1 to 63 characters without spaces.

When quotation marks are used around the string, spaces are allowed in the string.


VLANIF interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

This command applies to DHCP servers. Run the dhcp server domain-name command on a DHCP server to specify a domain name for each interface address pool. When allocating IP addresses to clients, the DHCP server also sends the domain names to the clients.

  • The address of an interface address pool has been configured using the ip address command.

  • The DHCP server function has been enabled on the interface using the dhcp select interface command.


To configure a domain name for the global address pool, run the domain-name command.


# Set the domain name assigned by the DHCP address pool on the interface to
<Huawei> system-view
[Huawei] interface vlanif 100
[Huawei-Vlanif100] ip address 24
[Huawei-Vlanif100] dhcp select interface
[Huawei-Vlanif100] dhcp server domain-name
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 207672

Downloads: 122

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