DHCP Commands
E-DOC-CTC-20050531-0057 v1.0
133
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 580
Page 1: ...SpeedTouch 580 Wireless Residential ADSL Gateway CLI Reference Guide Release R4 3 1 ...
Page 2: ......
Page 3: ...SpeedTouch 580 CLI Reference Guide R4 3 1 ...
Page 28: ...ADSL Commands E DOC CTC 20050531 0057 v1 0 8 ...
Page 80: ...ATM Commands E DOC CTC 20050531 0057 v1 0 60 ...
Page 84: ...AutoPVC Commands E DOC CTC 20050531 0057 v1 0 64 ...
Page 92: ...Config Commands E DOC CTC 20050531 0057 v1 0 72 ...
Page 118: ...CWMP Commands E DOC CTC 20050531 0057 v1 0 98 ...
Page 264: ...DSD Commands E DOC CTC 20050531 0057 v1 0 244 ...
Page 328: ...Expr Commands E DOC CTC 20050531 0057 v1 0 308 ...
Page 358: ...Firewall Commands E DOC CTC 20050531 0057 v1 0 338 ...
Page 390: ...IDS Commands E DOC CTC 20050531 0057 v1 0 370 ...
Page 532: ...PPTP Commands E DOC CTC 20050531 0057 v1 0 512 ...
Page 568: ...SNMP Commands E DOC CTC 20050531 0057 v1 0 548 ...
Page 596: ...System Commands E DOC CTC 20050531 0057 v1 0 576 ...
Page 614: ...User Commands E DOC CTC 20050531 0057 v1 0 594 ...
Page 650: ...System Logging Messages E DOC CTC 20050531 0057 v1 0 630 ...
Page 660: ...Supported Key Names E DOC CTC 20050531 0057 v1 0 640 ...
Page 675: ......