Specifications
312 Chapter 8. Command Reference
DHCP CLEAR ALL RECORDS
Clears all DHCP information, including all leases and all global DHCP information.
Unlike erase dhcp, this command clears all DHCP information from memory, but leaves the DHCP.DAT file
intact. If you want to clear the information in the DHCP.DAT file as well, enter a save command after dhcp clear
all records.
Note: You cannot abbreviate the word records in the command.
Example:
dhcp clear all records
DHCP CLEAR EXPIRE
Releases the client lease. It then becomes available for other assignments.
Note: The client does not get updated; it will still have the old value.
DHCP CLEAR VALUEOPTION
Clears the value for a global option, for an option associated with a subnetwork, or with a specific client.
dhcp clear addresses <net>
net IP address of the subnetwork lease in the format of 4 decimals separated by periods.
Example:
dhcp clear addresses 192.168.254.0
dhcp clear all records
dhcp clear expire <ipaddr>
ipaddr IP address of the client lease in the format of 4 decimals separated by periods.
Example:
dhcp clear expire 192.168.254.12
dhcp clear valueoption [<net>|<ipaddr>] <code>
net IP address of the subnetwork lease in the format of 4 decimals separated by periods.
ipaddr IP address of the client lease in the format of 4 decimals separated by periods.
code Code can be a number between 1 and 61 or a keyword. Use the command dhcp list
deÞnedoptions to list the codes and keywords.