Configuring the lease duration for the address pool

Complete the following steps to specify the lease duration for the address pool.

You can set a lease duration for days, hours, or minutes, or any combination of the three.

  1. Enter global configuration mode by issuing the configure terminal command.
    device# configure terminal
  2. Create and enter the DHCP server pool configuration mode.
    device(config)# ip dhcp-server pool cabo
  3. Set the lease duration for the address pool.
    device(config-dhcp-cabo)# lease 1 4 32
    In the example, the lease duration has been set to one day, four hours, and 32 minutes.