Configuring Lease Time

Lease time specifies the amount of time that the client can use the IP address assigned by the server.

To configure lease time:
  1. Create a pool and enter the DHCP Pool Configuration mode
    iS5comm(config)# ip dhcp pool<pool number (1-2147483647)>

    Perform the following:

    iS5comm(config)# ip dhcp pool 1

    A pool number is entered. The range is from 1 to 2147483647.

  2. Configure lease time.
    iS5comm(dhcp-config)# lease{<days (0-365)> [<hours (0-23)> [<minutes (1-59)>]] | infinite}

    Perform the following:

    iS5comm(dhcp-config)# lease 1 2 30

    The lease is configured as 1 day 2 hours and 30 minutes.
  3. Verify the lease time.
    iS5comm(dhcp-config)# end
    iS5comm# show ip dhcp server pools
    Global Options
    --------------
    Code : 3, Value : 12.0.0.2
    
    
    Pool Id : 1
    -------------------------------------------
    Subnet : 12.0.0.0
    Subnet Mask : 255.0.0.0
    Lease time : 95400 secs
    Utilization threshold : 50%
    Start Ip : 12.0.0.1
    End Ip : 12.0.0.100