DHCP COMMANDS
160
DMS-CTC-20101206-0049 v1.0.Copyright 2011Technicolor. All rights reserved.
This document contains Technicolor proprietary and confidential information. Passing on and copying of this document, use,
extraction and communication of its contents, is not permitted without written authorization from Technicolor.
dhcp server lease add
Add a DHCP server lease
SYNTAX:
dhcp server lease add
clientid = <clientid>
pool = <{LAN_private}>
[addr = <ip-address>]
[offset = <number>]
[lifetime = <number>]
[leasetime = <number>]
[gateway = <ip-address|0|none>]
[macaddr = <hardware-address>]
[allocation = <{automatic|manual}>]
where:
clientid
The DHCP client identification string.
REQUIRED
pool
The name of the DHCP server pool.
REQUIRED
addr
The IP address for this client.
OPTIONAL
offset
The IP address offset in the pool preserved for this client.
OPTIONAL
lifetime
The time in seconds the DHCP server keeps the lease
reserved (tip: 0 means infinite lifetime).
OPTIONAL
leasetime
The time in seconds the client is allowed to use an address
(tip: 0 means infinite leasetime).
OPTIONAL
gateway
The IP address of the default router for this client.
OPTIONAL
macaddr
The host MAC address.
OPTIONAL
allocation
Define the client IP address allocation method (tip :
automatic means the lease can be recycled).
OPTIONAL