brocade-communications-sy rfs6000 Manuel D’Utilisation

Page de 839
Brocade Mobility RFS4000, RFS6000 and RFS7000 CLI Reference Guide 
525
53-1001931-01
DHCP Config commands
17
lease
Sets a valid lease time for the IP address used by DHCP clients in the network pool
Supported in the following platforms:
Mobility RFS4000 Controller
Mobility RFS6000 Controller
Mobility RFS7000 Controller
Syntax
lease [{<0-365> <0-23> <0-59>}|infinite]
Parameters
Usage Guidelines
If lease parameter is not configured on the DHCP network pool, the default value is used. The 
default value of the lease is 24 hours. 
The lease value for DHCP host pool is infinite. Hence the lease configuration is not applicable for 
DHCP host pool
NOTE
The factory default lease period for a pool – network pool or host pool is configured as 1 day. 
Example
RFController(config-dhcp)#lease 1 0 0
RFController(config-dhcp)#
RFController(config)#show running-config
..........................................
..........................................
..........................................
ip dhcp pool Test4lease
 host 3.33.33.3
 client-name test4lease
 client-identifier tested4lease
..........................................
..........................................
RFController(config)#
lease [
{<0-365> <0-23> <0-59>}
|infinite]
Sets the lease time for an IP address 
<0-365> –Sets the lease period in days. Days can 
be made as 0 only when hours and/or mins are 
greater than 0.
<0-23> – Sets the hours for the lease period. 
Hours can be 0 only when days and/or 
minutes are configured with a value greater 
than 0.
<0-59> – Sets the minutes for the lease 
period. Minutes can be 0 only when days 
and/or hours are configured with a value 
greater than 0. 
infinite – Sets the lease period as infinite.