DHCP Commands
E-DOC-CTC-20040907-0010 v1.0
81
dhcp client ifconfig
Show/set the configuration of DHCP lease created for a specific interface.
SYNTAX:
where:
dhcp client ifconfig
intf = <string>
[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.
The default is
7200
(2 hours).
Note
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) Domain Name System (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.
The default is
1
.
OPTIONAL
dnsmetric
A number between 0 and 100.
Represents the DNS route metric.
The default is
1
.
OPTIONAL
Summary of Contents for SpeedTouch 510v5
Page 2: ......
Page 3: ...SpeedTouchTM 516 536 546 510v5 530v5 CLI Reference Guide R5 2 7...
Page 16: ...Contents E DOC CTC 20040907 0010 v1 0 14...
Page 34: ...ADSL Commands E DOC CTC 20040907 0010 v1 0 32...
Page 60: ...Bridge Commands E DOC CTC 20040907 0010 v1 0 58...
Page 116: ...DHCP Commands E DOC CTC 20040907 0010 v1 0 114...
Page 224: ...IPQoS Commands E DOC CTC 20040907 0010 v1 0 222...
Page 266: ...NAT Commands E DOC CTC 20040907 0010 v1 0 264...
Page 272: ...Phonebook Commands E DOC CTC 20040907 0010 v1 0 270...
Page 314: ...PPTP Commands E DOC CTC 20040907 0010 v1 0 312...
Page 322: ...QoSBook Commands E DOC CTC 20040907 0010 v1 0 320...
Page 338: ...Software Commands E DOC CTC 20040907 0010 v1 0 336...
Page 346: ...Switch Commands E DOC CTC 20040907 0010 v1 0 344...
Page 383: ......