Lease - Allied Telesis x510-28GTX Command Reference Manual

Stackable gigabit edge switches x510 series
Table of Contents

Advertisement

D
H
C
YNAMIC
OST
ONFIGURATION

LEASE

lease
Overview
This command sets the expiration time for a leased address for the DHCP address
pool you are configuring. The time set by the days, hours, minutes and seconds is
cumulative. The minimum total lease time that can be configured is 20 seconds.
The maximum total lease time that can be configured is 120 days.
Note that if you add a user-defined option 51 using the
will override any settings created with this command. Option 51 specifies a lease
time of 1 day.
Use the infinite parameter to set the lease expiry time to infinite (leases never
expire).
Use the no variant of this command to return the lease expiration time back to the
default of one day.
lease <days> <hours> <minutes> [<seconds>]
Syntax
lease infinite
no lease
Default
The default lease time is 1 day.
Mode
DHCP Configuration
To set the lease expiration time for address pool P2 to 35 minutes, use the
Examples
commands:
awplus#
awplus(config)#
awplus(dhcp-config)#
C613-50170-01 Rev B
P
(DHCP) C
ROTOCOL
OMMANDS
Parameter
Description
<days>
The number of days, from 0 to 120, that the lease expiry time is
configured for.
Default: 1
<hours>
The number of hours, from 0 to 24, that the lease expiry time is
configured for.
Default: 0
<minutes> The number of minutes, from 0 to 60, the lease expiry time is configured
for.
Default: 0
<seconds> The number of seconds, from 0 to 60, the lease expiry time is configured
for.
infinite
The lease never expires.
configure terminal
ip dhcp pool P2
Command Reference for x510 Series
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
lease 0 0 35
option
command, then you
2460

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents