mac

263
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
15.1.18 ip dhcp ping timeout
Command: ip dhcp ping timeout <timeout-value>
no ip dhcp ping timeout
Function: Set the timeout period (in ms) of waiting for a reply message (Echo Request)
after each Ping request message (Echo Request) in Ping-detection of conflict on DHCP
server, whose default value is 500ms. The no operation of this command will restore the
default value.
Parameters: <timeout-value> is the timeout period of waiting for a reply message after
each Ping request message in Ping-detection of conflict.
Default Settings: The timeout period is 500ms by default.
Command Mode: Global Configuration Mode.
Examples: Set the timeout period (in ms) of waiting for each reply message (Echo
Request) in Ping-detection of conflict on DHCP server as 600ms.
Switch(config)# ip dhcp ping time out 600
Related Command: ip dhcp conflict ping-detection enable, ip dhcp ping packets
15.1.19 lease
Command: lease { [<days>] [<hours>][<minutes>] | infinite }
no lease
Function: Sets the lease time for addresses in the address pool; the no lease
command restores the default setting.
Parameters: <days> is number of days from 0 to 365; <hours> is number of hours from
0 to 23; <minutes> is number of minutes from 0 to 59; infinite means perpetual use.
Default: The default lease duration is 1 day.
Command Mode: DHCP Address Pool Mode
Usage Guide: DHCP is the protocol to assign network addresses dynamically instead of
permanently, hence the introduction of ease duration. Lease settings should be decided
based on network conditions: too long lease duration offsets the flexibility of DHCP, while