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 select global

dhcp select global


The dhcp select global command enables an interface to use the global address pool.

The undo dhcp select global command disables an interface from using the global address pool.

By default, an interface is disabled from using the global address pool.


dhcp select global

undo dhcp select global




VLANIF interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The dhcp select global command applies to DHCP servers. After receiving a DHCP Request message from a DHCP client, a DHCP server assigns an IP address from the local address pool to the client. Run the dhcp select global command to configure the device to assign IP addresses from the global address pool. When no interface address pool is created for the DHCP server, the DHCP server assigns an IP address from the global address pool to an online user.

The device can also assign IP addresses from an interface address pool using the dhcp select interface command in the interface view.

  • DHCP has been enabled using the dhcp enable command in the system view.

  • Before running the dhcp select global command, you need to run the ip address command to configure the interface IP address.


If the DHCP relay and DHCP server functions are simultaneously configured on an interface, only the DHCP server function takes effect.


# Enable VLANIF100 to use the global address pool.
<Huawei> system-view
[Huawei] dhcp enable
[Huawei] interface vlanif 100
[Huawei-Vlanif100] ip address 24
[Huawei-Vlanif100] dhcp select global
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 208423

Downloads: 122

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