Enterasys Networks 9034313-07 manual Set dhcp pool lease, Clear dhcp pool lease, Infinite

Models: 9034313-07

1 872
Download 872 pages 24.54 Kb
Page 502
Image 502

set dhcp pool lease

set dhcp pool lease

Use this command to specify the duration of the lease for an IP address assigned by the DHCP server from the address pool being configured.

Syntax

set dhcp pool poolname lease {days [hours [minutes]] infinite}

Parameters

poolname

Specifies the name of the address pool. Pool names may be up to 31

 

characters in length.

 

 

days

Specifies the number of days an address lease will remain valid. Value can

 

range from 0 to 59.

 

 

hours

(Optional) When a days value has been assigned, specifies the number of

 

hours an address lease will remain valid. Value can range from 0 to 1439.

 

 

minutes

(Optional) When a days value and an hours value have been assigned,

 

specifies the number of minute an address lease will remain valid. Value

 

can range from 0 to 86399.

 

 

infinite

Specifies that the duration of the lease will be unlimited.

 

 

Defaults

If no lease time is specified, a lease duration of 1 day is configured.

Mode

Switch command, read‐write.

Example

This example configures a lease duration of 12 hours for the address pool being configured. Note that to configure a lease time less than one day, enter 0 for days, then the number of hours and minutes.

C3(rw)->set dhcp pool auto1 lease 0 12

clear dhcp pool lease

Use this command to restore the default lease time value of one day for the address pool being configured.

Syntax

clear dhcp pool poolname lease

Parameters

poolname

Specifies the name of the address pool. Pool names may be up to 31

 

characters in length.

 

 

Defaults

Clears the lease time for this address pool to the default value of one day.

16-22 DHCP Server Configuration

Page 502
Image 502
Enterasys Networks 9034313-07 manual Set dhcp pool lease, Clear dhcp pool lease, Infinite