Specifications
max-lease
481
max-lease
Sets the maximum allowable lease time when a client specifies the lease time and requests
an IP address.
Syntax
To set or change information:
max-lease {<Time day> [<Time hour> [<Time min> [<Time sec>]]] |
infinite}
To delete information:
no max-lease
Input mode
(dhcp-config)
Parameters
{<Time day> [<Time hour> [<Time min> [<Time sec>]]] | infinite}
By specifying the time in days, hours, minutes, and seconds, the maximum lease
time when a client specifies a time can be set. If this information is not set, the default
lease time is used. This information cannot be set if the total value of <Time day>
>
/<Time hour>/<Time min>/<Time sec> is less than 10 seconds. Specify a value
from 10 (seconds) to 365 (days).
<Time day>
Specify the lease time in days.
1. Range of values:
0 to 365 (days)
<Time hour>
Specify the lease time in hours.
1. Range of values:
0 to 23 (hours)
<Time min>
Specify the lease time in minutes.
1. Range of values:
0 to 59 (minutes)
<Time sec>
Specify the lease time in seconds.
1. Range of values:
0 to 59 (seconds)
infinite
Sets the lease time to unlimited.
Default behavior
The time set by using the lease command is set as the maximum lease time.
Impact on communication
None