C613-50631-01 Rev A Command Reference for IE340 Series 3086
AlliedWare Plus™ Operating System - Version 5.5.3-0.x
DYNAMIC HOST CONFIGURATION PROTOCOL (DHCP) COMMANDS
SHORT
-LEASE-THRESHOLD
short-lease-threshold
Overview Use this command to configure a short lease threshold.
Use the no variant of this command to return the short lease threshold to the
default of one minute.
Syntax
short-lease-threshold <hours> <minutes>
no short-lease-threshold
Default 1 minute.
Mode DHCP Configuration
Usage notes DHCP leases need to be backed up in NVS so that when the DHCP server reboots
or goes through a power cycle it won't lose all the knowledge of these leases.
Some networks have a high number of mobile devices repeatedly requesting
DHCP leases every few seconds before their existing lease expires. This can happen
for example, when mobile devices move in and out of a Wi-Fi zone or when Wi-Fi
signal strength changes. This means the same IP address can have multiple lease
entries which can take up unnecessary backup file space.
The short-lease-threshold command allows you to configure the threshold for a
short lease, from 1 minute to 24 hours. Any lease less than the threshold is deemed
to be a short lease and will NOT be backed up to NVS.
This is useful if you have:
• limited backup file space, and
• you don’t need to restore leases after a device reboot or power cycle
Example To set the short lease threshold for address pool P2 to 40 minutes, use the
following commands:
awplus# configure terminal
awplus(config)# ip dhcp pool P2
awplus(dhcp-config)# short-lease-threshold 0 40
To set the short lease threshold for address pool Nerv_Office to 5 hours and 35
minutes, use the following commands:
awplus# configure terminal
awplus(config)# ip dhcp pool Nerv_Office
awplus(dhcp-config)# short-lease-threshold 5 35
Parameter Description
<hours> The number of hours, from 0 to 24.
<minutes> The number of minutes, from 0 to 60.