290
11.5.1.1 clear ip dhcp binding
Command: clear ip dhcp binding {<address> | all }
Function: Delete the specified IP address-hardware address binding record or all IP
address-hardware address binding records.
Parameter: <address> is the IP address that has a binding record, in dotted decimal
format. all refers to all IP addresses that have a binding record.
Command mode: Admin Mode
Usage Guide: show ip dhcp binding” command can be used to view binding
information for IP addresses and corresponding DHCP client hardware
addresses. If the DHCP server is informed that a DHCP client is not using
the assigned IP address for some reason before the lease period expires,
DHCP server would not remove the binding information automatically. The
system administrator can use this command to delete that IP address-client
hardware address binding manually, if “all” is specified, then all auto binding
records will be deleted, thus all addresses in the DHCP address pool will be
reallocated.
Example: Remove all IP-hardware address binding records.
Switch#clear ip dhcp binding all
Related command: show ip dhcp binding
11.5.1.2 clear ip dhcp conflict
Command: clear ip dhcp conflict {<address> | all }
Function: Delete an address present in the address conflict log.
Parameter: <address> is the IP address that has a conflict record; all stands for all
addresses that have conflict records.
Command mode: Admin Mode
Usage Guide: show ip dhcp conflict” command can be used to check which IP
addresses are conflicting for use, while this command can be used to
delete the conflict record for an address. If "all” is specified, then all
conflict records in the log will be removed. When records are removed from
the log, the addresses are available for allocation by the DHCP server.
Example: The network administrator finds 10.1.128.160 that has a conflict record in the
log and is no longer used by anyone, so he deletes the record from the address
conflict log.
Switch#clear ip dhcp conflict 10.1.128.160