Operation Manual

113
DHCP Commands
E-DOC-CTC-20040210-0030 v1.0
dhcp server lease add
Assign a DHCP server lease to a DHCP host in the local network.
SYNTAX:
where:
dhcp server lease add clientid = <client-id>
pool = <string>
[addr = <ip-address>]
[offset = <number>]
[leasetime = <number>]
[hostname = <{hostname|""}>]
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.
Note Use the command dhcp server pool list for 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 DHCP server pool specified.
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.
Not specifying this parameter does not preserve an IP address for
the host.
OPTIONAL
leasetime A number between 0 and 1814400 (seconds).
Represents the time the host is allowed to use this address, before
renewing.
Note Specifying -1 makes the lease permanent.
OPTIONAL
hostname The hostname to add to the local Domain Name System (DNS) table
for this host. Use “” if no hostname is associated with this lease.
OPTIONAL