CLI Reference DHCP Configuration Commands
information that matches the CLASS and the CLASS identification
information.
The example below configures a global CLASS.
Ruijie(config)# ip dhcp class myclass
ip dhcp database write-delay
Use this command to configure the function of writing the DHCP lease data-binding information into the FLASH
timely in global configuration mode. The no form of this command can be used to disable the function of writing
timely.
ip dhcp database write-delay time
no ip dhcp database write-delay
The interval at which the system writes
the DHCP lease binding database
information into the flash. The range is
from 600 to 86400 seconds.
Global configuration mode.
By configuring this command, you can write the information of DHCP
lease binding database into the FLASH files to prevent the loss of
user information after restarting the device.
The example below sets the interval at which the switch writes the
information into FLASH as 3600s.
Ruijie(config)# ip dhcp database write-delay 3600
ip dhcp database write-to-flash
Use this command to write the information of DHCP lease binding data into FLASH files in the real-time..
ip dhcp database write-to-flash