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).
gateway (DHCP server group view)

gateway (DHCP server group view)


The gateway command specifies an egress gateway address of the DHCP server in the DHCP server group view.

The undo gateway command restores the default setting.

By default, no egress gateway address is specified.


gateway ip-address

undo gateway






Specifies the IP address of an egress gateway.

The value is in dotted decimal notation.


DHCP server group view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

This command applies to DHCP relay agents. If a DHCP server and its DHCP relay agent are on different network segments, you can run the gateway command to specify an egress gateway address for the DHCP relay agent. In this way, the DHCP relay agent can communicate with the DHCP server. Run the gateway-list command to configure an egress gateway for the DHCP server.


  • If an egress gateway is not configured for a DHCP relay agent using the gateway command, the DHCP relay agent uses the interface address as the gateway address to communicate with the DHCP server.
  • When two wireless access point devices function as the DHCP server and DHCP relay agent respectively, they must use the same egress gateway address.


# Specify the egress gateway address of the server group myServers as

<Huawei> system-view
[Huawei] dhcp server group myServers
[Huawei-dhcp-server-group-myServers] gateway
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 207358

Downloads: 122

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