CLI Reference DHCP Configuration Commands
to assign the IP addresses within 192.168.12.100~150.
ip dhcp excluded-address 192.168.12.100 192.168.12.150
Define the name of the DHCP address pool and
enter the DHCP address pool configuration mode.
Define the network number and network mask of
the DHCP address pool.
ip dhcp ping packet
Use this command to configure the times of pinging the IP address when the DHCP server detects address conflict
in global configuration mode. The no form of this command is used to restore it to the default configuration.
ip dhcp ping packet [ number ]
no ip dhcp ping packet
(Optional) Number of packets in the range of 0 to
10, where 0 indicates disabling the ping operation.
The Ping operation sends two packets by default.
The Ping operation sends two packets by default.
Global configuration mode.
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.
The cexample below sets the number of the packets sent by the ping
operation as 3.
ip dhcp ping packets 3
Clear the DHCP history conflict record.
Configure the timeout time that the DHCP server
waits for the Ping response. If all the ping packets
are not responded within the specified time, it
indicates that this IP address can be assigned.
Otherwise, it will record the address conflict.