Specifications

318 Chapter 8. Command Reference
DHCP SET EXPIRE
This command is used to manually change a client lease expiration time to a certain value.
Note 1: Changing a client lease time manually is rarely required.
Note 2: The client information does not get updated. It will still have the old value.
DHCP SET LEASE
Controls lease time.
dhcp set addresses <first ipaddr> <last ipaddr>
Þrst ipaddr First address in a pool of addresses for a particular subnetwork.
last ipaddr Last address in a pool of addresses for a particular subnetwork.
Example:
dhcp set addresses 192.168.254.1 192.168.254.250
dhcp set expire <ipaddr> <hours> | default | infinite
ipaddr IP address of the client lease in the format of 4 decimals separated by periods.
hours Lease time; minimum is 1 hour; the global default is 168 hours.
default Lease time that has been speciÞed at the subnetwork or global level.
inÞnite No lease time limit; the lease becomes permanent.
Example:
dhcp set expire 192.168.254.18 8
dhcp set lease [<net>|<ipaddr>]<hours>|default|infinite
net IP address of the subnetwork lease in the format of 4 decimals separated by periods.
ipaddr IP address of the client lease in the format of 4 decimals separated by periods.
hours Lease time; minimum is 1 hour; the global default is 168 hours.
default Lease time that has been speciÞed at the subnetwork or global level.
inÞnite No lease time limit; the lease becomes permanent.
Example 1:
dhcp set lease 192.168.254.17 default
(sets client lease time to default)
Example 2:
dhcp set lease 192.168.254.0 infinite
(sets lease time to inÞnite for this subnet)