Справочник Пользователя для Alcatel-Lucent speedtouch 500

Скачать
Страница из 422
96
DHCP Commands
dhcp client ifconfig
Show/set the configuration of DHCP lease created for a specific interface.
Note
Execute the dhcp client ifrelease command before configuring the dhcp client.
SYNTAX:
dhcp client ifconfig
intf = <interface name>
[clientid = <{client-id|none}>]
[hostname = <hostname|"">]
[addr = <ip-address>]
[leasetime = <number>]
[addrtrans = <{none|pat}>]
[dns = <{off|on}>]
[gateway = <{off|on}>]
[metric = <number{0-100}>]
[dnsmetric = <number{0-100}>]
intf
The name of the dynamic interface to be configured.
REQUIRED
clientid
The client identity to be associated with the lease. Use none in case 
no clientid should be associated with this lease.
OPTIONAL
hostname
The host name of the client to be associated with the lease. Use “” in 
case no hostname should not be associated with this 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
metric
A number between 0 and 100.
Represents the gateway route metric
By default the gateway route metric is 1.
OPTIONAL
dnsmetric
A number between 0 and 100.
Represents the DNS route metric
By default the DNS route metric is 1.
OPTIONAL