DHCP Commands
E-DOC-CTC-20050531-0058 v1.0
131
dhcp server lease add
Add a DHCP server lease.
SYNTAX:
where:
EXAMPLE:
dhcp server lease add
clientid = <client-id>
pool = <string>
[addr = <ip-address>]
[offset = <number>]
[leasetime = <number>]
[expirytime = <number>]
[gateway = <ip-address>]
[macaddr = <hardware-address>]
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 avail-
able 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
=>dhcp server lease list
Lease
Pool
TTL
State
Clientid
0
0.0.0.0
dhcp_pool_1
00:26:40
FREE
00:90:D0:12:34:56
=>dhcp server lease add clientid=01:23:55:67:89:ab pool=Local_pool leasetime=3600
=>dhcp server lease list
Lease
Pool
TTL
State
Clientid
0
0.0.0.0
dhcp_pool_1
00:26:40
FREE
00:90:D0:12:34:56
1
10.0.0.1
local_pool
00:59:22
USED
01:23:45:67:89:AB
=>
Summary of Contents for SpeedTouch 585
Page 1: ...SpeedTouch 585 Wireless Residential ADSL Gateway CLI Reference Guide Release R5 3 1...
Page 2: ......
Page 3: ...SpeedTouch 585 CLI Reference Guide R5 3 1...
Page 26: ...ADSL Commands E DOC CTC 20050531 0058 v1 0 6...
Page 78: ...ATM Commands E DOC CTC 20050531 0058 v1 0 58...
Page 82: ...AutoPVC Commands E DOC CTC 20050531 0058 v1 0 62...
Page 90: ...Config Commands E DOC CTC 20050531 0058 v1 0 70...
Page 116: ...CWMP Commands E DOC CTC 20050531 0058 v1 0 96...
Page 262: ...DSD Commands E DOC CTC 20050531 0058 v1 0 242...
Page 320: ...Eth Commands E DOC CTC 20050531 0058 v1 0 300...
Page 332: ...Expr Commands E DOC CTC 20050531 0058 v1 0 312...
Page 396: ...IDS Commands E DOC CTC 20050531 0058 v1 0 376...
Page 538: ...PPTP Commands E DOC CTC 20050531 0058 v1 0 518...
Page 574: ...SNMP Commands E DOC CTC 20050531 0058 v1 0 554...
Page 602: ...System Commands E DOC CTC 20050531 0058 v1 0 582...
Page 620: ...User Commands E DOC CTC 20050531 0058 v1 0 600...
Page 656: ...System Logging Messages E DOC CTC 20050531 0058 v1 0 636...
Page 666: ...Supported Key Names E DOC CTC 20050531 0058 v1 0 646...
Page 681: ......