Users Guide

Switch Management Commands 1988
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.
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
command to display the expiration time of the
leased IP address.
Syntax
lease {days[hours][minutes]|infinite}
no lease
days—The number of days for the lease duration. Range 0-59. Default is 1.
hours—The number of hours for the lease duration. Range 0-23. There is
no default.
minutes—The number of minutes for the lease duration. Range 0-59.
There is no default.
infinite—The lease expires in 60 days.