You can specify the amount of time the client can use (or lease) the IP address assigned by the server. This parameter is specific to each IP address pool. Every IP address allocated from a pool will be returned to the pool if the client does not renew the address before the lease-time expire interval.
In this example, the address pool is pool 1, and the lease time is specified as one day, two hours, and thirty minutes.
SEFOS# configure terminal SEFOS(config)# ip dhcp pool 1
SEFOS(dhcp-config)# lease 1 2 30 SEFOS(dhcp-config)# end
SEFOS# show ip dhcp server pools
The output in switch 1 is:
Pool Id : 1 ------------------------------------------- Subnet : 12.0.0.0 Subnet Mask : 255.0.0.0 Lease time : 95400 secs Utilization threshold : 75% Start Ip : 12.0.0.1 End Ip : 12.0.0.100