Page 536 / 998 Scroll up to view Page 531 - 535
Dynamic Host Configuration Protocol
DHCP Client command reference
iMG/RG Software Reference Manual (System Administration)
5-76
Example
--> dhcpclient set interfaceconfig client1 requestedleasetime 70000
See also
DHCPCLIENT LIST INTERFACECONFIGS
DHCPSERVER SET MAXLEASETIME
DHCPSERVER SET DEFAULTLEASETIME
5.1.6.1.27 DHCPCLIENT SET INTERFACECONFIG SERVER
Syntax
DHCPCLIENT SET INTERFACECONFIG {<name>|<number>} SERVER
<ipaddress>
Description
If dhcpclient set dhcpinform has been set to enabled, this command will unicast the first
DHCPINFORM message to the specific DHCP server at the specified IP address. If the
first unicast fails, the DHCPINFORM will default to broadcasting its messages.
Options
The following table gives the range of values for each option that can be specified with
this command and a default value (if applicable).
Option
Description
Default Value
name
An existing DHCP client interface. To display client
interface names, use the
DHCPCLIENT LIST
INTERFACECONFIGS
command.
N/A
number
An existing DHCP client interface. To display client
interface numbers, use the
DHCPCLIENT LIST
INTERFACECONFIGS
command.
N/A
requested lease
time
The lease time (in seconds) that a DHCP client
requests from the DHCP server.
86400
Page 537 / 998
DHCP Client command reference
Dynamic Host Configuration Protocol
5-77
iMG/RG Software Reference Manual (System Administration)
Example
--> dhcpclient set interfaceconfig client1 server 192.168.101.2
See also
DHCPCLIENT SET INTERFACECONFIG DHCPINFORM ENABLED|DISABLED
5.1.6.1.28 DHCPCLIENT SET BROADCAST-FLAG
Syntax
DHCPCLIENT SET BROADCAST-FLAG ENABLE|DISBALE
Description
This command set the broadcast flag in the dhcpclient request. The default value is enable
Example
--> dhcpclient set broadcast-flag disable
5.1.6.1.29 DHCPCLIENT SET INITIALINTERVAL
Syntax
DHCPCLIENT SET INITIALINTERVAL <initialinterval>
Description
This command sets the first polling interval for the DHCP client
Options
The following table gives the range of values for each option that can be specified with
this command and a default value (if applicable).
Example
--> dhcpclient set initialintervall 3600
Option
Description
Default Value
name
An existing DHCP client interface. To display cli-
ent interface names, use the
DHCPCLIENT
LIST INTERFACECONFIGS
command.
N/A
number
An existing DHCP client interface. To display cli-
ent interface numbers, use the
DHCPCLIENT
LIST INTERFACECONFIGS
command.
N/A
ipaddress
The IP address of a DHCP server that DHCP cli-
ent can use to obtain configuration parameters.
The IP address is displayed in the following format:
192.168.102.3
N/A
Option
Description
Default Value
initialintervall
The time (in seconds) between the first and the sec-
ond DHCP request.
10
Page 538 / 998
Dynamic Host Configuration Protocol
DHCP Client command reference
iMG/RG Software Reference Manual (System Administration)
5-78
5.1.6.1.30 DHCPCLIENT SET REBOOT
Syntax
DHCPCLIENT SET REBOOT <reboottime>
Description
When the DHCP client is restarted, it tries to reacquire the last address that it had. This
command sets the time between the client trying to reacquire its last address and giving
up then trying to discover a new address.
Options
The following table gives the range of values for each option that can be specified with
this command and a default value (if applicable).
Example
--> dhcpclient set reboot 5
5.1.6.1.31 DHCPCLIENT SET RETRY
Syntax
DHCPCLIENT SET RETRY <RETRYTIME>
Description
This command sets the time that must pass after the client has determined that no
DHCP server is present before it tries again to contact a DHCP server.
Options
The following table gives the range of values for each option that can be specified with
this command and a default value (if applicable).
Example
--> dhcpclient set retry 150
5.1.6.1.32 DHCPCLIENT SET FORCE-BROADCAST-RENEW
Syntax
DHCPCLIENT SET FORCE-BROADCAST-RENEW {ENABLED|DISABLED}
Description
This command force the dhcpclient to renew the ip address always in broadcast mode.
DHCPREQUEST are sent to a broadcast address instead to be sent in unicast mode to
the DHCP server.
Option
Description
Default Value
reboottime
The time (in seconds) between a client attempt to
reacquire its previous IP address and its giving up to
find a new one.
10
Option
Description
Default Value
retrytime
The time (in seconds) that must pass after the client
has determined that no DHCP server is present
before it tries again to contact a DHCP server.
300
Page 539 / 998
DHCP Relay Command Reference
Dynamic Host Configuration Protocol
5-79
iMG/RG Software Reference Manual (System Administration)
The command does not have effect until the DHCPCLIENT UPDATE command is
entered.
To retrieve the current settings, use the DHCPCLIENT SHOW command.
Options
The following table gives the range of values for each option which can be specified with
this command and a default value (if applicable).
Example
--> dhcpclient set force-broadcast-renew enabled
5.1.6.1.33 DHCPCLIENT SHOW
Syntax
DHCPCLIENT SHOW
Description
This command displays the following global configuration information about DHCP client:
reboot time
retry time
maximum backoff time
ip renewal mode
Example
--> dhcpclient show
Global DHCP Client Configuration:
Reboot time: 10
Retry time: 300
Max. backoff time: 120
Broadcast Renew: false
See also
DHCPCLIENT SET REBOOT
DHCPCLIENT SET RETRY
DHCPCLIENT SET BACKOFF
5.1.7
DHCP Relay Command Reference
This section describes the commands available on AT-RG624/634/644 Residential Gateway to enable, configure
and manage DHCP Relay module.
Option
Description
Default Value
enabled
Force the dhcpclient to renew the ip address
always in broadcast mode
disabled
Do not force the dhcpclient to renew the ip
address always in broadcast mode,
disabled
Page 540 / 998
Dynamic Host Configuration Protocol
DHCP Relay Command Reference
iMG/RG Software Reference Manual (System Administration)
5-80
5.1.7.1 DHCP relay CLI commands
The table below lists the DHCP relay commands provided by the CLI:
TABLE 5-3
DHCP Relay Commands
5.1.7.1.1 DHCPRELAY ADD SERVER
Syntax
DHCPRELAY ADD SERVER <IPADDRESS>
Description
This command adds the IP address of a DHCP server to the DHCP relay's list of server
IP addresses. The relay can store a maximum of 10 DHCP server addresses. Any new
server IP addresses added are not actually used until the
DHCPRELAY UPDATE
com-
mand has been entered.
Options
The following table gives the range of values for each option which can be specified with
this command and a default value (if applicable).
Example
--> dhcprelay add server 239.252.197.0
See also
dhcpserver list subnets
dhcprelay update
Commands
Fiber
A
Fiber
B
Fiber
C
Fiber
D
Fiber
E
Modular
ADSL
A
ADSL
B
ADSL
C
DHCPRELAY ADD SERVER
X
X
X
X
X
X
X
X
X
DHCPRELAY CLEAR SERVERS
X
X
X
X
X
X
X
X
X
DHCPRELAY DELETE SERVER
X
X
X
X
X
X
X
X
X
DHCPRELAY ENABLE|DISABLE
X
X
X
X
X
X
X
X
X
DHCPRELAY LIST SERVERS
X
X
X
X
X
X
X
X
X
DHCPRELAY SHOW
X
X
X
X
X
X
X
X
X
DHCPRELAY UPDATE
X
X
X
X
X
X
X
X
X
Option
Description
Default Value
ipaddress
The IP address of a DHCP server that DHCP relay
can use. The IP address is displayed in the IPv4 format
(e.g 192.168.102.3)
N/A

Rate

4 / 5 based on 3 votes.

Popular Allied-Telesis Models

Bookmark Our Site

Press Ctrl + D to add this site to your favorites!

Share
Top