user manual

3 DHCP Commands
40 / 138
3EC 16982 AGAA TCZZA Ed. 01
dhcp add
Assign a static IP address to a host in the local network. This address is allocated on a permanent
basis, and is excluded from the pool of addresses used by the SpeedTouch350i DHCP server.
SYNTAX:
dhcp add clientid = <clientid>
addr = <ipaddress>
[leasetime = <number>]
[hostname = <hostname>]
clientid The DHCP client's MAC address. REQUIRED
addr The IP address for this DHCP host. REQUIRED
[leasetime] A number between 0 and 1814400 (seconds).
Represents the preferred time the client wants to use an address.
By default the leasetime is 7200 seconds (2 hours).
Specifying -1 makes the lease permanent.
OPTIONAL
[hostname] The hostname to add to the local DNS table for this host. OPTIONAL
EXAMPLE:
=>dhcp list
Leases:
Lease 0: 01:00:A0:24:AE:66:E1
Hostname = Default
ip address : 10.0.0.8
expires in : 1 h, 16 min, 20 sec
lease is being used.
Total size of table: 36, in use: 1 free: 97 %
=>dhcp add clientid=01:23:45:67:89:ab addr=10.0.0.1 leastime=60 hostname=NewLease
=>dhcp list
Leases:
Lease 0: 01:00:A0:24:AE:66:E1
Hostname = Default
ip address : 10.0.0.8
expires in : 1 h, 15 min, 32 sec
lease is being used.
Lease 1: 01:23:45:67:89:AB
Hostname = NewLease
ip address : 10.0.0.1
expires in : 23 sec
lease is being used.
Total size of table: 36, in use: 2 free: 94 %
=>
RELATED COMMANDS:
dhcp delete Delete a DHCP lease.
dhcp list Show current DHCP leases.