Chapter3DHCPandDHCPSNOOPINGConīæguration
Related
Commands
ipaddressdhcp
ipdhcpclientlease
Purpose
Usethiscommandtosetleaseofdhcpclient.
CommandModes
Interfaceconīæguration
Syntax
ipdhcpclientlease{<days>[<hours>][<minutes>]|infinite}
noipdhcpclientlease
Syntax
Description
<days>
Thedaysofclientlease,inrangeof0~365.
<hours>
Thehoursofclientlease,inrangeof0~23.
<minutes>
Theminutesofclientlease,inrangeof0~59.
Instruction
Thiscommandisusedtosetleaseofdhcpclient.Theleasecan
bespeciīæedasdays,hours,minutesandinīænitelease.Thispa-
rameterisonlyusedforapplyingthedhcpclientlease.Thelease
toobtaintheIPaddressfordhcpclientisdeterminedbythedhcp
serverconīæguration.
Theplatformversion4.8.22supportsthiscommand.
Itisonlyappliedto59seriesswitches.
Example
Thisexampleshowshowtosettheclientleaseofdhcpclient.
ZXR10(config-if)#ipdhcpclientlease123
ZXR10(config-if)#
Related
Commands
ipaddressdhcp
ipdhcpclientrequest
Purpose
Usethiscommandtosettheparameterrequestinglistofdhcp
client.
CommandModes
Interfaceconīæguration
Syntax
ipdhcpclientrequest<option-name>
noipdhcpclientrequest<option-name>
Syntax
Description
<option-name>
Theoptionnamecanbeoneofthefollowing
keywords:tftp-server-address,static-route,
domain-name,dns-nameserver ,orrouterIt
requestsalltheoptionsbydefault.
Instruction
Thiscommandisusedtosettheparameterrequestinglistofdhcp
clientexample.Itrequestsalltheoptionsbydefault.
Theplatformversion4.8.22supportsthiscommand.
ConīædentialandProprietaryInformationofZTECORPORATION81