Chapter 24
| DHCP Commands
DHCP Client
– 589 –
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
File and Other Parameters from a DHCP Server” on page 55
.
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 ";
}
}
Содержание SC30010
Страница 1: ...C 300 Series Gigabit Managed Switch CLI Reference Guide SOFTWARE RELEASE V1 1 10 171 www signamax com ...
Страница 2: ...CLI Reference Guide SC30010 C 300 48 Port Gigabit Managed Switch E122017 KS R01 ...
Страница 482: ...Chapter 19 Class of Service Commands Priority Commands Layer 3 and 4 482 ...
Страница 670: ......
Страница 671: ...E122017 KS R01 ...