Page 526 / 998 Scroll up to view Page 521 - 525
Dynamic Host Configuration Protocol
DHCP Client command reference
iMG/RG Software Reference Manual (System Administration)
5-66
Interface identification number
Interface name
IP interface configured by the client interface
Requested lease time (in seconds)
Client identifier (if set)
Status of ip address auto-configuration (true or false)
Example
--> dhcpclient list interfaceconfigs
DHCP Client Declarations:
Requested
ID
|
Name
| Interface | Lease Time | Client ID
| AutoIP
-----|---------|-----------|------------|-------------------|-------
1 | client1 | ip1
| 9000
| 00:11:22:33:44:5a | true
--------------------------------------------------------------------
See also
DHCPCLIENT SHOW
DHCPCLIENT SET INTERFACECONFIG REQUESTEDLEASETIME
DHCPCLIENT SET INTERFACECONFIG CLIENTID
DHCPCLIENT SET INTERFACECONFIG AUTOIP ENABLED|DISABLED
5.1.6.1.14 DHCPCLIENT SET BACKOFF
Syntax
DHCPCLIENT SET BACKOFF <backofftime>
Description
This command sets the global maximum time (in seconds) that a DHCP client interface
will ‘back off’ between issuing individual DHCP requests. This prevents many clients try-
ing to configure themselves at the same time, and sending too many requests at once.
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 backoff 200
See also
DHCPCLIENT SHOW
Option
Description
Default Value
backofftime
The maximum number of seconds that the DHCP
client can pause for between unsuccessful DHCP
negotiations.
120
Page 527 / 998
DHCP Client command reference
Dynamic Host Configuration Protocol
5-67
iMG/RG Software Reference Manual (System Administration)
5.1.6.1.15 DHCPCLIENT SET INTERFACECONFIG AUTOIP ENABLED|DISABLED
Syntax
DHCPCLIENT SET INTERFACECONFIG {<name>|<number>} AUTOIP
{ENABLED | DISABLED}
Description
This command enables/disables IP address auto-configuration (Auto-IP).
Auto-IP automatically configures an IP address when a DHCP client fails to contact a
DHCP server and cannot obtain a lease. An IP address on the 169.254 subnet is automat-
ically created, and ARP requests are issued for the suggested IP address. The address is
abandoned if it already exists on the network or if any other host on the network issues
an ARP probe for that IP address.
Once an IP address has been automatically configured, the DHCP client continues to
check whether it can contact a DHCP server. If the client can contact a DHCP server and
obtain a legitimate lease, the legitimate lease will supersede the auto-configured IP
address.
Note:
Even if you have enabled Auto-IP using this command, you will not be able to use IP address auto-
configuration if a DHCP server on the same network does not allow it. See the dhcpserver subnet add
option 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 mycfg autoip enabled
See also
DHCPSERVER SUBNET ADD OPTION
For further information on the RFC standard for DHCP IP address auto-configuration, see
rfc/rfc2563.txt
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
enabled
Enables Auto-IP on a specified dhcp client.
enabled
disabled
Disables Auto-IP on a specified dhcp client.
Page 528 / 998
Dynamic Host Configuration Protocol
DHCP Client command reference
iMG/RG Software Reference Manual (System Administration)
5-68
5.1.6.1.16 DHCPCLIENT SET INTERFACECONFIG CLIENTID
Syntax
DHCPCLIENT SET INTERFACECONFIG
{<name>|<number>}
CLIENTID
<cli-
entid>
Description
This command sets a unique client identifier that DHCP server uses to identify the 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 interfaceconfig client1 clientid 00:11.22.33.44.5a
See also
DHCPCLIENT LIST INTERFACECONFIGS
5.1.6.1.17 DHCPCLIENT SET INTERFACECONFIG DEFAULTROUTE ENABLED|DISABLED
Syntax
DHCPCLIENT SET INTERFACECONFIG {<name>|<number>}
DEFAULTROUTE {ENABLED|DISABLED}
Description
This command enables/disables whether DHCP client makes use of default gateway
information received from a DHCP server. If no DHCP interfaceconfigs have been added
to the system, by default DHCP client will use default gateway information received from
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).
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
client id
A unique identifier that DHCP server can use to
identify the client. By default it is the MAC address
of the CPE. The client ID can be a MAC address
or a text string such as the hostname. The string
must be entered as hexadecimal values separated
by colon.
N/A
Page 529 / 998
DHCP Client command reference
Dynamic Host Configuration Protocol
5-69
iMG/RG Software Reference Manual (System Administration)
Example
--> dhcpclient set interfaceconfig client1 defaultroute disabled
See also
DHCPCLIENT LIST INTERFACECONFIGS
5.1.6.1.18 DHCPCLIENT SET INTERFACECONFIG DHCPINFORM ENABLED|DISABLED
Syntax
DHCPCLIENT SET INTERFACECONFIG {<name>|<number>} DHCPINFORM
{ENABLED|DISABLED}
Description
This command enables/disables whether DHCP client uses the
dhcpinform
message
type. This DHCP message type is used whenever a client has obtained an IP address or
subnet mask (for example, the address has been manually configured or obtained through
PPP/IPCP), but wishes to obtain extra configuration parameters (such as DNS servers or
default gateway) from 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).
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
enabled
DHCP client uses default gateway information it
receives from DHCP server.
enabled
disabled
DHCP client does not use default gateway infor-
mation it receives from DHCP server.
Option
Description
Default Value
name
An existing DHCP client interface. To display client
interface names, use the
DHCPCLIENT LIST
INTERFACECONFIGS
command.
N/A
Page 530 / 998
Dynamic Host Configuration Protocol
DHCP Client command reference
iMG/RG Software Reference Manual (System Administration)
5-70
Example
--> dhcpclient set interfaceconfig client1 dhcpinform disabled
See also
DHCPCLIENT LIST INTERFACECONFIGS
DHCPCLIENT SET INTERFACECONFIG SERVER
5.1.6.1.19 DHCPCLIENT SET INTERFACECONFIG DHCPSERVERPOOLSIZE
Syntax
DHCPCLIENT SET INTERFACECONFIG {<name>|<number>} DHCPSERVER-
POOLSIZE <pool size>
Description
This command tells DHCP client to configure a DHCP server on the LAN if the given
address pool size is set to a number greater than 0. The LAN DHCP server is configured
using parameters received by a DHCP client interface on the WAN. Information such as
DNS server addresses can then be distributed to LAN clients. The new DHCP server
gives out the default gateway address as its LAN IP 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).
number
An existing DHCP client interface. To display client
interface numbers, use the
DHCPCLIENT LIST
INTERFACECONFIGS
command.
N/A
enabled
Enables the dhcpinform message type. IP address
and subnet mask will not be negotiated if this mode
is selected.
disabled
disabled
Disables the dhcpinform message type.
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
DHCPCLI-
ENT LIST INTERFACECONFIGS
command.
N/A
pool size
The number of DHCP client addresses in a pool.
The first address in the pool is the address
immediately after the LAN DHCP address. For
example, if the LAN DHCP address is
192.168.102.3, the first address in the pool will
be 192.168.102.4.
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