Users Guide

Table Of Contents
Switch Management Commands 2039
ip dhcp ping packets
Use the ip dhcp ping packets command in Global Configuration mode to
configure the number of pings sent to detect if an address is in use prior to
assigning an address from the DHCP pool. If neither ping is answered, the
DHCP server presumes the address is not in use and assigns the selected IP
address.
Syntax
ip dhcp ping packets {0,
2-10
}
no ip dhcp ping packets
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.