Clear dhcp pool lease, Set dhcp pool default-router – Enterasys Networks Enterasys D2 D2G124-12P User Manual

Page 415

Advertising
background image

clear dhcp pool lease

D-Series CLI Reference 14-21

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.

D2(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

Defaults

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

Mode

Switch command, read‐write.

Example

This example restores the default lease duration of one day for address pool “auto1.” 

D2(rw)->clear dhcp pool auto1 lease

set dhcp pool default-router

Use this command to specify a default router list for the DHCP clients served by the address pool 
being configured. Up to 8 default routers can be configured.

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.

poolname

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

Advertising
This manual is related to the following products: