Lease - Allied Telesis x310-26FT Command Reference Manual

X310 series stackable access switches for alliedware plus version 5.4.6-1.x
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-50103-01 REV A
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 x310 Series
AlliedWare Plus™ Operating System - Version 5.4.6-1.x
lease 0 0 35
option
command, then you
2207

Advertisement

Table of Contents
loading

This manual is also suitable for:

X310-26fpX310-50fpX310-50ft

Table of Contents