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

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).
domain-name

domain-name

Function

The domain-name command configures the domain name suffix for the DHCP client.

The undo domain-name command deletes a configured domain name suffix.

By default, no domain name suffix is configured.

Format

domain-name domain-name

undo domain-name

Parameters

Parameter

Description

Value

domain-name

Specifies a domain name to be assigned to a DHCP client.

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

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

Views

IP address pool view, DHCP Option template view

Default Level

2: Configuration level

Usage Guidelines

This command applies to DHCP servers. When allocating IP addresses to the client, the DHCP server also specifies domain names for clients. Run the domain-name command on the DHCP server to specify a domain name. When allocating IP addresses to clients, the DHCP server also sends the domain names to the clients.

To configure a domain name for an interface address pool, run the dhcp server domain-name (interface view) command.

Example

# In the IP address pool view, configure the domain name suffix assigned to the DHCP client as example.com.
<Huawei> system-view
[Huawei] ip pool test
[Huawei-ip-pool-test] domain-name example.com
# In the DHCP Option template, configure the domain name suffix assigned to the DHCP client as huawei.com.
<Huawei> system-view
[Huawei] dhcp option template template1
[Huawei-dhcp-option-template-template1] domain-name huawei.com
Translation
Download
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 204527

Downloads: 122

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