clear ip dhcp-server binding

Last Updated : Nov 06, 2012 |

Deletes IP address binding. Binding is the allocation of an IP address to a client. You can delete all bindings or the binding of a specific IP address. Clearing the binding of an IP address frees the IP address for reallocation by the DHCP server.

When the DHCP server detects an IP address conflict after attempting to allocate an IP address that is already in use, the server locks the IP address for half an hour by marking the IP address with client-identifier 00:00:00:00:00:00:00. If you have solved the conflict before half an hour, you can use this command to free the IP address for reallocation.

Syntax

clear ip dhcp-server binding {ip-address|all}

Parameters

Parameter

Description

Possible Values

Default Value

ip-address

Clears any existing allocation of the specified IP address

1-32

all

Clears all IP address allocations.

User level

read-write

Context

general

Examples

To clear the allocation of IP address 1.1.1.1:

Gxxx-001(super)# clear ip dhcp-server binding 1.1.1.1

To clear all DHCP server IP address allocations:

Gxxx-001(super)# clear ip dhcp-server binding all