Enterasys Networks DFE-Gold Series Manuel D’Utilisation

Page de 944
lease
DHCP Overview
Enterasys Matrix DFE-Gold Series Configuration Guide 20-15
Usage
These configuration parameters and other control information are carried in tagged data items 
that are stored in the options field of the DHCP message to network hosts. All options specified in 
on page 20‐2 may be configured using this command.  Several commonly‐used options 
may also be configured using dedicated commands: 
The parameter format of a site‐specific option must be either ascii or hex.
The “no” form of this command deletes one or all DHCP options.
Examples
This example shows how to configure DHCP option 19, which specifies whether the client should 
configure its IP layer for packet forwarding. In this case, IP forwarding is enabled with the 01 
value:
Matrix>Router(config)#ip dhcp pool localpool
Matrix>Router(config-dhcp-pool)#option 19 hex 01
This example shows how to configure DHCP option 72, which assigns one or more Web servers 
for DHCP clients. In this case, two Web server addresses are configured:
Matrix>Router(config)#ip dhcp pool localpool
Matrix>Router(config-dhcp-pool)#option 72 ip 168.24.3.252 168.24.3.253
lease
Use this command to specify the duration of the lease for an IP address assigned by a DHCP 
server to a client.
Syntax
lease {days [hours] [minutes] | infinite}
no lease
Parameters
Defaults
If hours or minutes are not specified, no values will be configured.
Mode
Router command, DHCP‐Pool, Client‐Class and Hardware‐Address command modes.
days
Specifies the number of days an address lease will remain valid.
hours
(Optional) When a days value has been assigned, specifies the number 
of hour an address lease will remain valid.
minutes
(Optional) When a days value has been assigned, specifies the number 
of minutes an address lease will remain valid.
infinite
Specifies that the duration of the lease will be unlimited.