ADTRAN AOS Version R10.1.0 Command Reference Manual page 3055

Adtran operating system (aos)
Table of Contents

Advertisement

Command Reference Guide
lease <days>
Use the lease command to specify the duration of the lease for an Internet Protocol version 4 (IPv4)
address assigned to a Dynamic Host Configuration Protocol version 4 (DHCPv4) client. Use the no form
of this command to return to the default lease value. Variations of this command include:
lease <days>
lease <days> <hours>
lease <days> <hours> <minutes>
Syntax Description
<days>
<hours>
<minutes>
Default Values
By default, an IPv4 address lease is one day.
Command History
Release 2.1
Usage Examples
The following example specifies a lease of 2 days:
(config)#ip dhcp pool MyPool
(config-dhcp)#lease 2
The following example specifies a lease of 1 hour:
(config)#ip dhcp pool MyPool
(config-dhcp)#lease 0 1
The following example specifies a lease of 30 minutes:
(config)#ip dhcp pool MyPool
(config-dhcp)#lease 0 0 30
60000CRG0-35E
Specifies the duration of the IPv4 address lease in days.
Optional. Specifies the number of hours in a lease. You may only enter a
value in the hours field if the days field is specified.
Optional. Specifies the number of minutes in a lease. You may only enter a
value in the minutes field if the days and hours fields are specified.
Command was introduced.
Copyright © 2012 ADTRAN, Inc.
DHCPv4 Pool Command Set
3055

Advertisement

Table of Contents
loading

Related Products for ADTRAN AOS Version R10.1.0

This manual is also suitable for:

Aos r10.1.0

Table of Contents