mac

Commands for DHCP
306
26.1.18 ip dhcp conflict ping-detection enable
Command: ip dhcp conflict ping-detection enable
no ip dhcp conflict ping-detection enable
Function: Enable Ping-detection of conflict on DHCP server; the no operation of this
command will disable the function.
Parameters: None.
Default Settings: By default, Ping-detection of conflict is disabled.
Command Mode: Global Configuration Mode.
Usage Guide: To enable Ping-detection of conflict, one should enable the log of conflict
addresses, when which is disabled, so will the ping-detection of conflict. When a client is
unable to receive Ping request messages (when blocked by firewall, for example), this
function will check local ARP according to allocated IP: if a designated IP has a
corresponding ARP, then an address conflict exists; otherwise, allocate it to the client.
Examples: Enable Ping-detection of conflict.
Switch(config)#ip dhcp conflict ping-detection enable
Related Command: ip dhcp conflict logging, ip dhcp ping packets, ip dhcp ping
timeout
26.1.19 ip dhcp ping packets
Command: ip dhcp ping packets <request-num>
no ip dhcp ping packets
Function: Set the max number of Ping request (Echo Request) message to be sent in
Ping-detection of conflict on DHCP server, whose default value is 2; the no operation of
this command will restore the default value.
Parameters: <request-num> is the number of Ping request message to be sent in
Ping-detection of conflict.
Default Settings: No more than 2 Ping request messages will be sent by default.
Command Mode: Global Configuration Mode.
Examples: Set the max number of Ping request (Echo Request) message to be sent in
Ping-detection of conflict on DHCP server as 3.
Switch(config)#ip dhcp ping packets 3
Related Command: ip dhcp conflict ping-detection enable, ip dhcp ping timeout
26.1.20 ip dhcp ping timeout
Command: ip dhcp ping timeout <timeout-value>
no ip dhcp ping timeout