Operation Manual - DHCP
Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 3 DHCP Relay Configuration
Huawei Technologies Proprietary
3-11
Operation Command Description
Clear the statistics information of the
specified DHCP server group
reset dhcp-server
groupNo
The reset
command
can be
executed in
user view
3.4 DHCP Relay Configuration Example
I. Network requirements
The DHCP clients on the network segment 10.110.0.0/16 are connected to a port of
VLAN 2. The IP address of the DHCP server is 202.38.1.2. DHCP packets between
the DHCP clients and the DHCP server are forwarded by the DHCP relay, through
which the DHCP clients can obtain IP addresses and related configuration information
from the DHCP server.
II. Network 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
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 3-2 Network diagram for DHCP relay
III. Configuration procedure
# Enter system view.
<Quidway> system-view
# Enable DHCP.
[Quidway] dhcp enable
# Create DHCP server group 1 and configure an IP address of 202.38.1.2 for it.
[Quidway] dhcp-server 1 ip 202.38.1.2
# Map VLAN 2 interface to DHCP server group 1.