DGS-6604
m
show ip dhcp conflict
CLI Reference Guide
625
show ip dhcp conflict
To display the conflict IP addresses while a DHCP Server attempts to assign the
IP addresses for a client.
show ip dhcp conflict [pool
NAME
][
ADDRESS
]
Default
None
Command Mode
User EXEC or any configuration mode
Usage Guideline
The DHCP server detects the conflict by the ping operation. If a conflict address
is found, then the IP address found will be removed from address pool and
marked as conflict and will not be assigned until a network administrator clears
this conflict. If the address is not specified, all conflict addresses are shown.
Otherwise, only the conflict address for the specified address is displayed. The
IP address, Detection Method and Detection Time will be included in the
displayed format. If a duplicate IP address is detected by the DHCP server, the
Detection Method will be marked as "ping" and if the duplicate IP address is
detected by the DHCP client, the Detection Method will be marked as "Gratuitous
ARP".
Example
The following example shows the conflict status of IP address 10.1.1.1.
The following example shows the conflict status of all DHCP IP address pools.
Syntax Description
ADDRESS
(Optional) Specifies the conflict IP address. If no conflict IP address is specified,
all conflict IP addresses are applied.
pool
NAME
(Optional) Specifies the pool name for the conflict IP address. If no pool name is
specified, all pools are applied for this command.
switch# show ip dhcp conflict 10.1.1.1
Pool name: pool2
IP address Detected Method Detection time
---------- ---------------- --------------
10.1.1.1 Ping 18:38:56, 2010-09-30
switch# show ip dhcp conflict
Pool name: pool2
IP address Detected Method Detection time
---------- ---------------- --------------
10.1.1.1 Ping 18:38:56, 2010-09-30
Pool name: pool3
IP address Detected Method Detection time
---------- ---------------- --------------
172.1.1.1 Gratuitous ARP 18:38:56, 2010-09-30