Operation Manual – DHCP
H3C S5600 Series Ethernet Switches
Chapter 2 DHCP Server Configuration
2-6
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enable DHCP
dhcp enable
Optional
By default, DHCP is
enabled.
Note:
To improve security and avoid malicious attacks to unused sockets, S5600 Ethernet
switches provide the following functions:
z
UDP port 67 and UDP port 68 ports used by DHCP are enabled only when DHCP is
enabled.
z
UDP port 67 and UDP port 68 ports are disabled when DHCP is disabled.
The corresponding implementation is as follows:
z
After DHCP is enabled with the
dhcp enable
command, if the DHCP server and
DHCP relay agent functions are not configured, UDP port 67 and UDP port 68 ports
are kept disabled; if the DHCP server or DHCP relay agent function is configured,
UDP port 67 and UDP port 68 ports are enabled.
z
After DHCP is disabled with the
undo dhcp enable
command, even if the DHCP
server or DHCP relay function is configured, UDP port 67 and UDP port 68 ports will
be disabled.
2.4 Configuring the Global Address Pool Based DHCP Server
2.4.1 Configuration Task List
Complete the following tasks to configure the global address pool based DHCP server:
Task
Remarks
Enabling the Global Address Pool Mode on Interface(s)
Required
Creating a DHCP Global Address Pool
Required
Configuring the static IP address
allocation mode
Configuring an
Address
Allocation Mode
for the Global
Address Pool
Configuring the dynamic IP address
allocation mode
One of the two options
is required
Only one mode can be
selected for the same
global address pool.
Configuring a Domain Name Suffix for the DHCP Client
Optional
Configuring DNS Servers for the DHCP Client
Optional
Configuring WINS Servers for the DHCP Client
Optional