Command Reference DHCP Commands
Command Description Related
Commands
ip dhcp pool
Defines the name of the DHCP address pool and enters
DHCP address pool configuration mode.
network (DHCP)
Defines the network number and network mask of the
DHCP address pool.
Platform
Description
N/A
ip dhcp ping packets
Use this command to configure the times of pinging the IP address when the DHCP server detects
the address conflict in global configuration mode. Use the no form of this command to restore the
default configuration
ip dhcp ping packets [ number ]
no ip dhcp ping packets
Parameter Description Parameter
Description
number
(Optional) Number of packets in the range from 0 to 10, where 0
indicates disabling the ping operation. The ping operation sends
two packets by default.
Defaults
The ping operation sends two packets by default.
Command
Mode
Global configuration mode
Usage Guide
When the DHCP server attempts to assign the IP address from the DHCP address pool, use the ping
operation to check whether this address is occupied by other hosts. Record it if the address is
occupied, otherwise, assign it to the DHCP client. The ping operation will send up to 10 packets (two
packets by default).
Configuration
Examples
The following example sets the number of the packets sent by the ping operation to 3.
Ruijie(config)# ip dhcp ping packets 3
Command Description Related
Commands
clear ip dhcp conflict
Clears the DHCP history conflict record.
ip dhcp ping packets
Configures the timeout that the DHCP server waits for
the ping response. If all the ping packets are not
responded within the specified time, this IP address
can be assigned. Otherwise, it will record the address
conflict.
show ip dhcp conflict
Shows the DHCP server detects address conflict