DHCP Commands
XSR CLI Reference Guide 15-93
Default
DCHPClientisnotactiveonaninterface
Mode
Interfaceconfiguration:XSR(config-if<xx>)#
Example
ThefollowingexampleenablesDHCPClient:
XSR(config)#interface FastEthernet1
XSR(config-if<F1>)#ip address dhcp

ip dhcp ping packets

ThiscommandspecifiesthenumberofpacketsaDHCPserversendstoanIPaddressaspartofa
pingoperation.TheDHCPserverpingsanIPaddressbeforeassigningtheaddresstoarequesting
client.Ifthepingisunanswered,theDHCPserverassumesthattheaddressisnotinuseand
assignstheaddresstotherequestingclient.Settingthenumberargumenttoavalueof0turnsoff
theDHCPserverpingoperationcompletely.
Syntax
ip dhcp ping packets number
Syntax of the “no” Form
UsethenoformofthiscommandtopreventtheserverfrompingingIPaddresses:
no ip dhcp ping packets
Default
Twopackets
Mode
Globalconfiguration:XSR(config)#
Example
ThefollowingexamplespecifiessixpingattemptsbytheDHCPservertowardanIPaddress
beforestoppinganyfurtherpingattempts:
XSR(config)#ip dhcp ping packets 6

ip dhcp ping timeout

ThiscommandspecifieshowlongaDHCPserverwaitsforapingreplyfromanIPaddress.
number Sum of ping packets sent before assigning the address to a requesting client.