ECS4100 Series CLI Reference Guide-R07

Table Of Contents
Chapter 32
| DHCP Commands
DHCP Client
– 864 –
DHCP for IPv4
ip dhcp
dynamic-provision
This command enables dynamic provisioning via DHCP. Use the no form to disable
this feature.
Syntax
[no] ip dhcp dynamic-provision
Default Setting
Disabled
Command Mode
Global Configuration
Command Usage
DHCPD is the daemon used by Linux to dynamically configure TCP/IP information
for client systems. To support DHCP option 66/67, you have to add corresponding
statements to the configuration file of DHCPD. Information on how to complete
this process are described in “Downloading a Configuration File and Other
Parameters from a DHCP Server” on page 72.
The following are some alternative commands which can be added to the DHCPD
to complete the dynamic provisioning process.
By default, the parameters for DHCP option 66/67 are not carried by the reply sent
from the DHCP server. To ask for a DHCP reply with option 66/67, the client can
inform the server that it is interested in option 66/67 by sending a DHCP request
that includes a 'parameter request list' option. Besides this, the client can also send
a DHCP request that includes a 'vendor class identifier' option to the server so that
the DHCP server can identify the device, and determine what information should
be given to requesting device.
The following are two additional sample configurations of the dhcpd.conf file for
the server version dhcp-3.0.4rc1, you can choose either one of them.
1. Define the conditions in subnet section:
shared-network Sample1 {
subnet 192.168.1.0 netmask 255.255.255.0 {
# option 55
option dhcp-parameter-request-list 1,66,67;
# option 66
option tftp-server-name "192.168.1.1";
# option 67
option bootfile-name "dhcp_config.cfg ";
}
}