Enterasys X-Pedition XSR CLI Cli Reference Manual page 608

Enterasys security router reference guide
Table of Contents

Advertisement

DHCP Commands
lease
This command configures the duration of the lease for an IP address that a DHCP server assigns to 
a DHCP client. The lease time set is the system default value which overrides the non‐specified 
default value (one day).
If the client requests a lease period exceeding the period configured on the server, the lease 
interval offered by the server will equal that of the value configured by this command. If the client 
does not request a particular lease period ‐ typical client behavior ‐ it is granted the configured 
default value. Manual bindings are not held accountable to this lease period.
Depending on the client configuration inheritance, the command should be used from the proper 
mode. If it is specified from multiple modes, an override mechanism chooses the innermost config 
value, with client‐class as innermost, then pool as most general.
Syntax
lease {days [hours] [minutes] | infinite}
days
hours
minutes
infinite
Syntax of the "no" Form
Use the no form of this command to restore the default value:
no lease
Default
One day
Mode
Either of the following command modes are available:
DHCP pool configuration: 
DHCP client class configuration: 
Example
The following example configures a one‐day lease:
XSR(config-dhcp-pool)#lease 1
The following example configures a one‐hour lease:
XSR(config-dhcp-pool)#lease 0 1
The following example configures a one‐minute lease:
XSR(config-dhcp-pool)#lease 0 0 1
15-98 Configuring DHCP
Duration of the lease in days.
Number of hours in the lease. A days value must be supplied before you can
configure an hours value.
Number of minutes in the lease. Days and hours values must be set before you
can configure a minutes value.
Duration of the lease is unlimited.
XSR(config-dhcp-pool)#
XSR(config-dhcp-class)#

Advertisement

Table of Contents
loading

This manual is also suitable for:

X-pedition xsr

Table of Contents