CLI Reference DHCP Configuration Commands
Global configuration mode.
By configuring this command, you can write the information of DHCP
lease binding database into the FLASH files in real-time.
The example below writes the binding database information into
FLASH manually.
Ruijie(config)# ip dhcp database write-to-flash
ip dhcp excluded-address
Use this command to define some IP addresses and make the DHCP server not assign them to the DHCP client in
global configuration mode. The no form of this command can be used to cancel this definition.
ip dhcp excluded-address low-ip-address [ high-ip-address ]
no ip dhcp excluded-address low-ip-address [ high-ip-address ]
Exclude the IP address, or exclude the start IP
address within the range of the IP address.
Exclude the end IP address within the range of the
IP address.
The DHCP server assigns the IP addresses of the whole address
pool by default.
Global configuration mode.
If the excluded IP address is not configured, the DHCP server
attempts to assign all IP addresses in the DHCP address pool. This
command can reserve some IP addresses for specific hosts to
prevent these addresses are assigned to the DHCP client, and define
the excluded IP address accurately to reduce the conflict detecting
time when the DHCP server assigns the address.
In the configuration example below, the DHCP server will not attempt