Dhcp server lease add, Add a dhcp server lease, Dhcp commands – Technicolor - Thomson ST585 V6 User Manual
Page 179: Syntax
![background image](/manuals/214718/179/background.png)
E-DOC-CTC-20061027-0004 v1.0
DHCP Commands
155
dhcp server lease add
Add a DHCP server lease.
SYNTAX:
where:
dhcp server lease add
clientid =
pool =
[addr =
[offset =
[leasetime =
[expirytime =
[gateway =
[macaddr =
clientid
The DHCP client identification string of the booting host.
REQUIRED
pool
The name of the DHCP server pool from which the DHCP lease
should be taken.
Tip
Use the command
:dhcp server pool list to
obtain a list of available DHCP server pools.
REQUIRED
addr
The favoured IP address for this DHCP host.
This IP address, if specified, must be in the range of the
specified DHCP server pool.
OPTIONAL
offset
A number between 0 and the integer number defined by the
number of available IP addresses in the DHCP server pool.
Represents the IP address offset in the DHCP server pool
preserved for this host.
Note
Not specifying this parameter does not preserve an IP
address for the host.
OPTIONAL
leasetime
A number (of seconds).
Represents the time the host is allowed to use this address.
Note
0 means infinite leasetime.
OPTIONAL
expiretime
The time in seconds the DHCP server keeps the lease reserved
Tip
0 means infinite expirytime.
gateway
The IP address of the default router for this client.
OPTIONAL
macaddr
The MAC address of the host.
OPTIONAL