Operation Manual - Network Protocol
Quidway S3500 Series Ethernet Switches Chapter 4 DHCP Relay Configuration
Huawei Technologies Proprietary
4-5
Operation Command
Enable the DHCP relay debugging
debugging dhcp-relay
Disable the DHCP relay debugging
undo debugging dhcp-relay
Display the address information of all the
legal clients of the DHCP Server group.
display dhcp-security [ ip_address ]
4.4 DHCP Relay Configuration Example
I. Networking requirements
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.
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 4-2 Networking diagram of configuring DHCP relay
III. Configuration procedure
# Configure the group number of DHCP Server as 1 and the IP address as 202.38.1.2.
[Quidway] dhcp-server 1 ip 202.38.1.2
# Associate the VLAN interface 2 with DHCP Server group 1.
[Quidway] interface vlan 2
[Quidway-Vlan-interface2] dhcp-server 1
# Configure the IP address of the VLAN interface 2, which must be in the same
segment as DCHP Client.
[Quidway-Vlan-interface2] ip address 10.110.1.1 255.255.0.0
To allocate IP address successfully for DHCP Client, you need to make necessary
configuration on DHCP Server, which varies, depending on device type.