DHCP Server and Relay Agent Commands 879
Parameter Description
Default Configuration
The command has no default configuration.
Command Mode
Global Configuration mode
User Guidelines
This command has no user guidelines.
Example
console#ip dhcp ping packets 5
lease
Use the lease command in DHCP Pool Configuration mode to set the period
for which a dynamically assigned DHCP address is valid. Use the infinite
parameter to indicate that addresses are to be automatically assigned. Use the
no form of the command to return the lease configuration to the default. Use
the show ip dhcp pool command to display pool configuration parameters.
Use the show ip dhcp binding co mmand to display the expiratio n time of the
leased IP address.
Syntax
lease {
days
[
hours
][
minutes
]|infinite}
no lease
Parameter Description
count The number of ping packets sent to detect an address in use.
The default is 2 packets. Range 0, 2-10. A value of 0 turns off
address detection. Use the no form of the command to return
the setting to the default value.
2CSPC4.XCT-SWUM2XX1.book Page 879 Monday, October 3, 2011 11:05 AM