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.


Configuration Guide - IP Service

S1720, S2700, S5700, and S6720 V200R012(C00 and C20)

This document describes the configurations of IP Service, including IP address, ARP, DHCP, DHCP policy VLAN, DNS, mDNS gateway, mDNS relay, UDP Helper, IP performance optimization, IPv6, DHCPv6, IPv6 DNS, IPv6 over IPv4 tunnel, and IPv4 over IPv6 tunnel.
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).
Enabling DHCP

Enabling DHCP


Before enabling the DHCP server function, enable DHCP in the system view.

  • The dhcp enable command is the prerequisite for configuring DHCP-related functions, including DHCP relay, DHCP snooping, and DHCP server. These functions take effect only after the dhcp enable command is run. After the undo dhcp enable command is run, all DHCP-related configurations of the device are deleted. After DHCP is enabled again using the dhcp enable command, all DHCP-related configurations of the device are restored to the default configurations.

  • After DHCP is enabled, if STP is also enabled, address allocation may slow down. By default, STP is enabled. To disable STP, run the undo stp enable command.

  • If DHCP is enabled on an S2750EI, S5700-10P-LI-AC, and S5700-10P-PWR-LI-AC, you can run the assign forward-mode ipv4-hardware command to enable Layer 3 hardware-based IPv4 packet forwarding to achieve better device performance.


  1. Run system-view

    The system view is displayed.

  2. Run dhcp enable

    DHCP is enabled.

    By default, DHCP is disabled.

  3. (Optional) Run dhcp speed-limit auto

    The dynamic rate limiting on DHCP messages is enabled.

    By default, dynamic rate limiting is disabled on DHCP messages.

Updated: 2018-12-24

Document ID: EDOC1100038342

Views: 89148

Downloads: 285

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