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 gateway-list

dhcp server gateway-list


The dhcp server gateway-list command sets the default gateway IP address that a DHCP server pre-allocates to DHCP clients.

The undo dhcp server gateway-list command deletes the configured default gateway IP address.

By default, the default gateway IP address that a DHCP server pre-allocates to DHCP clients is not configured.


dhcp server gateway-list ip-address &<1-8>

undo dhcp server gateway-list { ip-address | all }


Parameter Description Value
ip-address Specifies an IP address. You can configure a maximum of eight gateway addresses, which are separated by spaces. The value is in decimal dotted notation.
all Indicates all IP addresses. -


VLANIF interface view

Default Level

2: Configuration level

Usage Guidelines

To load balance traffic and improve network reliability, you can configure multiple default gateway addresses.

Do not configure the default gateway address allocated to DHCP clients as a broadcast address.

If the VRRP virtual IP address is configured on the interface and no gateway address is pre-allocated to the DHCP client using the dhcp server gateway-list command, the DHCP server uses the first VRRP virtual IP address as the gateway address to be allocated to the client. If no VRRP virtual IP address is configured on the interface, the DHCP server uses the physical IP address of the interface as the gateway address to be allocated to the client.

If the dhcp server gateway-list command is not configured, the gateway address allocated by the DHCP server to the DHCP client may fail to be displayed in trace information during fault diagnosis. Therefore, you are advised to configure this command if the DHCP server function based on an interface address pool is used.


# Enable a DHCP server on a VLANIF100 to pre-allocate default gateway address to DHCP clients.

<Huawei> system-view
[Huawei] dhcp enable
[Huawei] interface vlanif 100
[Huawei-Vlanif100] ip address 24 
[Huawei-Vlanif100] dhcp select interface
[Huawei-Vlanif100] dhcp server gateway-list
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 199222

Downloads: 122

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