Page 531 / 998 Scroll up to view Page 526 - 530
DHCP Client command reference
Dynamic Host Configuration Protocol
5-71
iMG/RG Software Reference Manual (System Administration)
Example
--> dhcpclient set interfaceconfig client1 dhcpserverpoolsize 5
See also
DHCPCLIENT LIST INTERFACECONFIGS
5.1.6.1.20 DHCPCLIENT SET INTERFACECONFIG DHCPSERVERINTERFACE
Syntax
DHCPCLIENT SET INTERFACECONFIG {<name>|<number>} DHCPSERVER-
INTERFACE <interface name>
Description
This command allows the user to specify an existing IP interface on which the automati-
cally configured DHCP server can be created. If the interface name does not correspond
with an existing IP interface, or no interface name is given, the DHCP server will be
placed on the first LAN interface that it finds.
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 interfaceconfig client1 dhcpserverinterface ip2
See also
DHCPCLIENT LIST INTERFACECONFIG
DHCPCLIENT SET INTERFACECONFIG DHCPSERVERPOOLSIZE
IP LIST INTERFACES
5.1.6.1.21 DHCPCLIENT SET INTERFACECONFIG FORCERENEW
Syntax
DHCPCLIENT SET INTERFACECONFIG {<name>|<number>} FORCERENEW
{ENABLED | DISABLED}
Description
This command sets whether the DHCP client is allowed to respond to DHCPFORCERE-
NEW requests received on the appropriate interface. If such a request is accepted, the
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
interface name
The name that identifies an existing IP interface.
To display IP interface names, use the
IP LIST
INTERFACES
command.
N/A
Page 532 / 998
Dynamic Host Configuration Protocol
DHCP Client command reference
iMG/RG Software Reference Manual (System Administration)
5-72
DHCP client will attempt to renew its lease early or, if using DHCPINFORM, will
attempt to obtain a new set of configuration parameters from the 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 interfaceconfig forcerenew enabled
See also
DHCPCLIENT SET INTERFACECONFIG DHCPINFORM ENABLED|DISABLED
DHCPSERVER FORCERENEW
5.1.6.1.22 DHCPCLIENT SET INTERFACECONFIG GIVEDNSTOCLIENT ENABLED|DISABLED
Syntax
DHCPCLIENT SET INTERFACECONFIG {<name>|<number>} GIVEDNSTO-
CLIENT {ENABLED|DISABLED}
Description
This command enables/disables whether DHCP client passes received DNS server
addresses to DNS client. If no DHCP interfaceconfigs have been added to the system, by
default DHCP client will not pass DNS server addresses to DNS 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).
Option
Description
Default Value
name
An existing DHCP client interface. To display client inter-
face names, use the
DHCPCLIENT LIST INTER-
FACECONFIGS
command.
N/A
number
An existing DHCP client interface. To display client inter-
face numbers, use the
DHCPCLIENT LIST INTER-
FACECONFIGS
command.
N/A
enabled
DHCP client responds to DHCPFORCERENEW requests
disabled
disabled
DHCP client does not respond to DHCPFORCERENEW
requests
Page 533 / 998
DHCP Client command reference
Dynamic Host Configuration Protocol
5-73
iMG/RG Software Reference Manual (System Administration)
Example
--> dhcpclient set interfaceconfig client1 givednstoclient disabled
See also
DHCPCLIENT LIST INTERFACECONFIGS
5.1.6.1.23 DHCPCLIENT SET INTERFACECONFIG GIVEDNSTORELAY ENABLED|DISABLED
Syntax
DHCPCLIENT SET INTERFACECONFIG {<name>|<number>} GIVEDN-
STORELAY {ENABLED|DISABLED}
Description
This command enables/disables whether DHCP client passes received DNS server
addresses to DNS relay. If no DHCP interfaceconfigs have been added to the system, by
default DHCP client will pass DNS server addresses to DNS relay.
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 inter-
face names, use the
DHCPCLIENT LIST INTER-
FACECONFIGS
command.
N/A
number
An existing DHCP client interface. To display client inter-
face numbers, use the
DHCPCLIENT LIST INTER-
FACECONFIGS
command.
N/A
enabled
DHCP client passes DNS server addresses to DNS client.
disabled
disabled
DHCP client does not pass DNS server addresses to DNS
client.
Option
Description
Default Value
name
An existing DHCP client interface. To display client
interface names, use the
DHCPCLIENT LIST
INTERFACECONFIGS
command.
N/A
Page 534 / 998
Dynamic Host Configuration Protocol
DHCP Client command reference
iMG/RG Software Reference Manual (System Administration)
5-74
Example
--> dhcpclient set interfaceconfig client1 givednstorelay disabled
See also
DHCPCLIENT LIST INTERFACECONFIGS
5.1.6.1.24 DHCPCLIENT SET INTERFACECONFIG INTERFACE
Syntax
DHCPCLIENT SET INTERFACECONFIG {<name>|<number>} INTERFACE
<ipinterface>
Description
This command sets the IP interface that will have its configuration set by the DHCP cli-
ent interface. The client interface can only set the IP configuration if the IP interface has
DHCP enabled, using the ip set interface dhcp command.
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 interfaceconfig client1 interface ip2
See also
DHCPCLIENT LIST INTERFACECONFIGS
IP LIST INTERFACES
IP SET INTERFACE DHCP
number
An existing DHCP client interface. To display client
interface numbers, use the
DHCPCLIENT LIST
INTERFACECONFIGS
command.
N/A
enabled
DHCP client passes DNS server addresses to DNS
relay.
enabled
disabled
DHCP client does not pass DNS server addresses to
DNS relay.
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
ipinterface
An existing IP interface
with DHCP enabled
. To
display interface names, use the
IP LIST
INTERFACES
command.
N/A
Page 535 / 998
DHCP Client command reference
Dynamic Host Configuration Protocol
5-75
iMG/RG Software Reference Manual (System Administration)
5.1.6.1.25 DHCPCLIENT SET INTERFACECONFIG NOCLIENTID
Syntax
DHCPCLIENT SET INTERFACECONFIG {<name>|<number>} NOCLIENTID
Description
This command deletes a client identifier from a DHCP client. The DHCP server must
have ‘allowunknownclients’ enabled in order to work with DHCP clients that are not spe-
cifically named in DHCP server configuration or its lease database.
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 interfaceconfig client1 noclientid
See also
DHCPCLIENT SET INTERFACECONFIG CLIENTID
DHCPSERVER SET ALLOWUNKNOWNCLIENTS
5.1.6.1.26 DHCPCLIENT SET INTERFACECONFIG REQUESTEDLEASETIME
Syntax
DHCPCLIENT SET INTERFACECONFIG {<name>|<number>} REQUEST-
EDLEASETIME <requestedleasetime>
Description
The DHCP client requests a specific lease time from the DHCP server for the allocated
IP addresses. This command determines the length of lease time requested. The DHCP
server will ‘cap’ a requested lease time if it is too large.
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 inter-
face names, use the
DHCPCLIENT LIST INTER-
FACECONFIGS
command.
N/A
number
An existing DHCP client interface. To display client inter-
face numbers, use the
DHCPCLIENT LIST INTER-
FACECONFIGS
command.
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