Operation Manual - Network Protocol 
Quidway S3500 Series Ethernet Switches  Chapter 5  DHCP Configuration
 
Huawei Technologies Proprietary 
5-26 
[Quidway-dhcp-2] network 10.1.1.128 mask 255.255.255.128 
[Quidway-dhcp-2] expired day 5 
[Quidway-dhcp-2] nbns-list 10.1.1.4 
[Quidway-dhcp-2] gateway-list 10.1.1.254 
[Quidway-dhcp-0] domain-name domain.com 
[Quidway-dhcp-0] dns-list 10.1.1.2 
5.6.2  DHCP Relay Configuration Example 
I. Networking requirement 
The segment address for DHCP Client is 10.110.0.0, which is connected to a port in the 
VLAN2 on the switch. The IP address of DHCP Server is 202.38.1.2. The DHCP 
packets should be forwarded via the switch with DHCP Relay enabled. DHCP Client 
can get IP address and other configuration information from DHCP Server. 
Configure an IP address pool on the DHCP Server and assign the network segment 
10.110.0.0 to the pool for allocating IP addresses to the DHCP clients on this segment. 
In addition, configure a route for the DHCP Server to reach the segment 10.110.0.0. 
II. Networking diagram 
Ethernet
Ethernet
Internet
DHCP client
DHCP client
Switch ( DHCP Relay )
10.110.0.0
DHCP Server
202.38.1.2
10.110.1.1
202.38.0.0
202.38.1.1
 
Figure 5-4 Networking application of DHCP relay 
III. Configuration procedure 
Configure DHCP Relay: 
# Enable the DHCP service. 
[Quidway] dhcp enable 
# Enable DHCP Relay to relay DHCP messages to an external DHCP server for 
address allocation. 
[Quidway] interface vlan 2 
[Quidway-Vlan-interface2] dhcp select relay