DHCP client options
When an interface is in DHCP addressing mode, DHCP client options can be configured in the CLI. For example, a vendor class identifier (usually DCHP client option 60) can be specified so that a request can be matched by a specific DHCP offer.
Multiple options can be configured, but any options not recognized by the DHCP server are discarded.
To configure client option 60 - vendor class identifier:
config system interface
edit port1
set vdom vdom1
set mode dhcp
config client-options
edit 1
set code 60
set type hex
set value aabbccdd
next
end
set type physical
set snmp-index 4
next
end
|
Variable |
Description |
|---|---|
|
code <integer> |
DHCP client option code (0 - 255, default = 0). See Dynamic Host Configuration Protocol (DHCP) and Bootstrap Protocol (BOOTP) Parameters for a list of possible options. |
|
type {hex | string | ip | fqdn} |
DHCP client option type (default = hex). |
|
value <string> |
DHCP client option value. |
|
ip <ip> |
DHCP client option IP address. This option is only available when |