CLI Reference Guide-R01

Table Of Contents
Chapter 1
| Initial Switch Configuration
Downloading a Configuration File and Other Parameters from a DHCP Server
– 67 –
For DHCPv6, options 59 and 60 statements can be added to the daemons
configuration file.
By default, IPv4 DHCP option 66/67 parameters are not carried in a DHCP server
reply. To ask for a DHCP reply with option 66/67 information, the DHCP client
request sent by this switch includes a “parameter request list” asking for this
information. Besides these items, the client request also includes a “vendor
class identifier” that allows the DHCP server to identify the device, and select
the appropriate configuration file for download. This information is included in
Options 55 and 124.
The following configuration example is provided for a Linux-based IPv4 DHCP
daemon (dhcpd.conf file). In the “Vendor class” section, the server will always send
Option 66 and 67 to tell the switch to download the “test” configuration file from
server 192.168.255.101.
ddns-update-style ad-hoc;
default-lease-time 600;
max-lease-time 7200;
log-facility local7;
server-name "Server1";
Server-identifier 192.168.255.250;
#option 66, 67
option space dynamicProvision code width 1 length 1 hash size 2;
option dynamicProvision.tftp-server-name code 66 = text;
option dynamicProvision.bootfile-name code 67 = text;
subnet 192.168.255.0 netmask 255.255.255.0 {
range 192.168.255.160 192.168.255.200;
option routers 192.168.255.101;
option tftp-server-name "192.168.255.100"; #Default Option 66
option bootfile-name "bootfile"; #Default Option 67
}
Table 2: DHCPv6 Options 59 and 60 Statements
Option
Statement
Keyword Parameter
59 OPT_BOOTFILE_URL a string indicating the bootfile location (must
conform to RFC3986)
60 OPT_BOOTFILE_PARAM multiple UTF-8 ([RFC3629]) strings that specify
parameters for the boot file
Table 3: DHCP Options 55 and 124 Statements
Option
Statement
Keyword Parameter
55 dhcp-parameter-request-list a list of parameters, separated by a comma ', '
124 vendor-class-identifier a string indicating the vendor class identifier