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 address dhcp-alloc

ip address dhcp-alloc


The ip address dhcp-alloc command enables the DHCP client function on an interface.

The undo ip address dhcp-alloc command disables the DHCP client function on an interface.

By default, the DHCP client function is disabled on an interface.


ip address dhcp-alloc [ unicast ]

undo ip address dhcp-alloc






Indicates that the client requests the server to unicast response packets.



VLANIF interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To enable an interface of the AP to obtain IP addresses using DHCP, enable the DHCP client function on the interface. A BOOTP client applies for an IP address from the server using DHCP. The DHCP client has two functions:
  • Sends DHCP Request messages to the server.
  • Processes DHCP Reply messages from the server.

To obtain an IP address, the DHCP client sends a DHCP Request message to the server. After the server receives the DHCP Request message, it sends a DHCP response message to the DHCP client. The DHCP client obtains the assigned IP address from the response message.


# Enable the DHCP client function on VLANIF100 to obtain an IP address.

<Huawei> system-view
[Huawei] interface vlanif 100
[Huawei-Vlanif100] ip address dhcp-alloc
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 210241

Downloads: 122

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