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.


Common Operation Guide

CloudEngine 12800, 12800E, 8800, 7800, 6800, and 5800 Series Switches

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).
Configuring DHCP Relay

Configuring DHCP Relay

Configure DHCP relay on CE series switches as follows:

<HUAWEI> system-view
[~HUAWEI] dhcp enable  //Enable DHCP.
[*HUAWEI] vlan batch 100
[*HUAWEI] interface vlanif 100
[*HUAWEI-Vlanif100] ip address 24
[*HUAWEI-Vlanif100] dhcp select relay  //Enable DHCP relay on the interface.
[*HUAWEI-Vlanif100] quit
[*HUAWEI] commit
[~HUAWEI] dhcp relay server group dhcpgroup1  //Create a DHCP server group and enter the DHCP server group view.
[*HUAWEI-dhcp-relay-server-group-dhcpgroup1] server  //Add a DHCP server to the DHCP server group.
[*HUAWEI-dhcp-relay-server-group-dhcpgroup1] quit
[*HUAWEI] commit
[~HUAWEI] interface vlanif 100
[~HUAWEI-Vlanif100] dhcp relay binding server group dhcpgroup1  //Specify a DHCP server group for the interface.
[*HUAWEI-Vlanif100] quit
[*HUAWEI] commit
Updated: 2018-10-08

Document ID: EDOC1000102369

Views: 238223

Downloads: 3273

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next