User Guide

6 DHCP Commands
70 / 260
3EC 16982 AFAA TCZZA Ed. 01
dhcp client ifconfig
Show/set the configuration of DHCP lease created for a specific interface.
Execute the dhcp client ifrelease command prior to configuring it.
SYNTAX:
dhcp client ifconfig intf = <interface name>
[clientid = <client-id>]
[hostname = <hostname>]
[addr = <ip-address>]
[leasetime = <number>]
[addrtrans = <{none|pat}>]
[dns = <{off|on}>]
[gateway = <{off|on}>]
intf The name of the dynamic interface to be configured. REQUIRED
[clientid] The client identity to be associated with the lease. OPTIONAL
[hostname] The host name of the client to be associated with the lease. OPTIONAL
[addr] The preferred dynamic IP address. OPTIONAL
[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
[addrtrans] Automatically enable address translation for this dynamic interface
(pat) or not (none).
OPTIONAL
[dns] Request (and accept) DNS server IP addresses (on) or not (off). OPTIONAL
[gateway] Request (and accept) gateway IP addresses (on) or not (off). OPTIONAL










