DGS-6604
m
clear ip dhcp conflict
CLI Reference Guide
101
clear ip dhcp conflict
Use this command to clear an address conflict from the DHCP server database.
clear ip dhcp conflict [pool
NAME
] [
ADDRESS
]
Default
None
Command Mode
Privileged EXEC
Usage Guideline
Use this command to delete the address in conflict. The DHCP server detects the
conflict of an IP address by using a ping session. If no IP address is specified,
DHCP server clears all known IP addresses that are in conflict.
The server detects conflicts using a ping session. The client detects conflicts
using gratuitous Address Resolution Protocol (ARP).
Note the following behavior for the clear ip dhcp conflict command:
• If the
pool
NAME
option is not specified and an IP
ADDRESS
is speci-
fied, the system parses all the DHCP pools for the address of the speci-
fied conflict.
• If the
pool
NAME
option is not specified and no IP
ADDRESS
is speci-
fied, then the system deletes all address conflicts from all DHCP pools.
• If the
pool
NAME
option is specified but no IP
ADDRESS
is specified,
then all conflicts in the specified pool will only be cleared.
• If both the
pool
NAME
option and an IP
ADDRESS
are specified, the
specified address conflict will be deleted from the specified pool.
Examples
The following example shows an address conflict of 10.12.1.99 being deleted
from the DHCP server database
The following example deletes all the address conflicts from the entire DHCP
server database.
Syntax Description
pool
NAME
(Optional) Name of the DHCP pool.
ADDRESS
(Optional) The IP address, that is in conflict, to be deleted
switch# clear ip dhcp conflict 10.12.1.99
switch#
switch#clear ip dhcp conflict
switch#