Page 516 / 998 Scroll up to view Page 511 - 515
Dynamic Host Configuration Protocol
DHCP Client command reference
iMG/RG Software Reference Manual (System Administration)
5-56
5.1.6.1.1 DHCPCLIENT ADD INTERFACECONFIG
Syntax
DHCPCLIENT ADD INTERFACECONFIG <name> <ipinterface>
Description
This command configures DHCP client parameters for negotiation over an existing IP
interface. The client interface can only set the IP configuration if the IP interface has
DHCP enabled.
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).
DHCPCLIENT SET INTERFACECONFIG DHCPINFORM ENABLED|DISABLED
X
X
X
X
X
X
X
X
X
DHCPCLIENT SET INTERFACECONFIG DHCPSERVERPOOLSIZE
X
X
X
X
X
X
X
X
X
DHCPCLIENT SET INTERFACECONFIG DHCPSERVERINTERFACE
X
X
X
X
X
X
X
X
X
DHCPCLIENT SET INTERFACECONFIG FORCERENEW
X
X
X
X
X
X
X
X
X
DHCPCLIENT SET INTERFACECONFIG GIVEDNSTOCLIENT ENABLED|DIS-
ABLED
X
X
X
X
X
X
X
X
X
DHCPCLIENT SET INTERFACECONFIG GIVEDNSTORELAY ENABLED|DIS-
ABLED
X
X
X
X
X
X
X
X
X
DHCPCLIENT SET INTERFACECONFIG INTERFACE
X
X
X
X
X
X
X
X
X
DHCPCLIENT SET INTERFACECONFIG NOCLIENTID
X
X
X
X
X
X
X
X
X
DHCPCLIENT SET INTERFACECONFIG REQUESTEDLEASETIME
X
X
X
X
X
X
X
X
X
DHCPCLIENT SET INTERFACECONFIG SERVER
X
X
X
X
X
X
X
X
X
DHCPCLIENT SET BROADCAST-FLAG
X
X
X
X
X
X
X
X
X
DHCPCLIENT SET INITIALINTERVAL
X
X
X
X
X
X
X
X
X
DHCPCLIENT SET INITIALINTERVAL
X
X
X
X
X
X
X
X
X
DHCPCLIENT SET REBOOT
X
X
X
X
X
X
X
X
X
DHCPCLIENT SET RETRY
X
X
X
X
X
X
X
X
X
DHCPCLIENT SET FORCE-BROADCAST-RENEW
X
X
X
X
X
X
X
X
X
DHCPCLIENT SHOW
X
X
X
X
X
X
X
X
X
Commands
Fiber
A
Fiber
B
Fiber
C
Fiber
D
Fiber
E
Modular
ADSL
A
ADSL
B
ADSL
C
Page 517 / 998
DHCP Client command reference
Dynamic Host Configuration Protocol
5-57
iMG/RG Software Reference Manual (System Administration)
Example
--> dhcpclient add interfaceconfig config1 ip1
See also
DHCPCLIENT LIST INTERFACECONFIGS
IP LIST INTERFACES
IP SET INTERFACE DHCP
5.1.6.1.2 DHCPCLIENT CLEAR INTERFACECONFIGS
Syntax
DHCPCLIENT CLEAR INTERFACECONFIGS
Description
This command deletes all existing DHCP client interface configurations.
Example
--> dhcpclient clear interfaceconfigs
See also
DHCPCLIENT LIST INTERFACECONFIGS
5.1.6.1.3 DHCPCLIENT DELETE INTERFACECONFIG
Syntax
DHCPCLIENT DELETE INTERFACECONFIG {<name>|<number>}
Description
This command deletes a single DHCP client interface configuration.
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 arbitrary name that identifies the client interface. It
can be made up of one or more letters or a combina-
tion of letters and digits, but it cannot start with a digit.
N/A
ip interface
An IP address or An existing IP interface. The interface
must have DHCP enabled. To display interface names,
use the
IP LIST INTERFACES
command.
N/A
Page 518 / 998
Dynamic Host Configuration Protocol
DHCP Client command reference
iMG/RG Software Reference Manual (System Administration)
5-58
Example
--> dhcpclient delete interfaceconfig config1
See also
DHCPCLIENT LIST INTERFACECONFIGS
5.1.6.1.4 DHCPCLIENT INTERFACECONFIG ADD REQUESTED OPTION
Syntax
DHCPCLIENT INTERFACECONFIG {<name>|<number>} ADD REQUESTED
OPTION <option>
Description
This command tells the DHCP client to request a specified option from a DHCP server.
The requested option is not compulsory - if the option was not included in a lease
offered by DHCP server, the DHCP client would still accept the offer.
Options are detailed in RFC 2132.
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 interfaceconfig client1 add requested option irc-server
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
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
option
A text string that identifies a DHCP server con-
figuration option.
N/A
Page 519 / 998
DHCP Client command reference
Dynamic Host Configuration Protocol
5-59
iMG/RG Software Reference Manual (System Administration)
See also
DHCPCLIENT INTERFACECONFIG ADD REQUESTED OPTION
DHCPCLIENT INTERFACECONFIG ADD REQUIRED OPTION
For information on RFC 2132, see
5.1.6.1.5 DHCPCLIENT INTERFACECONFIG ADD REQUIRED OPTION
Syntax
DHCPCLIENT INTERFACECONFIG {<name>|<number>} ADD REQUIRED
OPTION <option>
Description
This command tells DHCP client that it requires a specified option from DHCP server.
The required option is compulsory - if the option was not included in a lease offered by
DHCP server, the DHCP client would ignore the offer.
Options are detailed in RFC 2132.
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 interfaceconfig client1 add required option domain-name
See also
DHCPCLIENT INTERFACECONFIG ADD REQUESTED OPTION
DHCPCLIENT INTERFACECONFIG ADD REQUIRED OPTION
5.1.6.1.6 DHCPCLIENT INTERFACECONFIG ADD SENT OPTION
Syntax
DHCPCLIENT INTERFACECONFIG {<NAME>|<NUMBER>} ADD SENT OPTION
{SUBNET-MASK|DHCPLEASE-TIME|DHCP-CLIENT-IDENTIFIER|ROUT-
ERS|DOMAIN-NAME-SERVERS} <VALUE>
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
option
A text string that identifies a DHCP server con-
figuration option.
N/A
Page 520 / 998
Dynamic Host Configuration Protocol
DHCP Client command reference
iMG/RG Software Reference Manual (System Administration)
5-60
Description
This command tells the DHCP client to send a value for the given DHCP configuration
option to a DHCP server. The DHCP server’s response depends on the type of option
being sent out.
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 interfaceconfig client1 add sent option host-name ‘“vancouver”’
This command example tells the DHCP client to send the DHCP host-name option to
the DHCP server with the value “vancouver”. Note that for options with string-type val-
ues associated with them, the option value must be in double-quotes (“ ”). Also, the
entire string including the double quotes must be inside single quotes (‘’) to ensure that
the CLI treats the double quotes literally.
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
subnet-mask
A text string that identifies a DHCP server con-
figuration option.
N/A
dhcp-leasetime
An option that can be used to request a specific
lease duration by the client.
N/A
dhcp-clientidentifier
An option that can be used to specify the client
identifier in a host declaration so that a DHCP
server can find the host record by matching
against the client identifier.
N/A
Routers
An option that provides IP address of a known
router to the ARTMOS DHCP configuration
when DHCP server configuration is given.
N/A
Domainnameservers
An option that requests the IP address of any
DNS server.
N/A
value
The value associated with the option identifier.
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