Network protocols
7.5 DHCP server
SCALANCE XM-400/XR-500 Command Line Interface (CLI)
356
Configuration Manual, 06/2016, C79000-G8976-C252-11
You configure the DHCP options 12, 66 and 67 with the
option value-string
command.
You configure the interface with the
set interface
command.
7.5.3.4
option value-string
Description
With this command you configure DHCP options 12, 66 and 67 that contain a string as
DHCP parameter. The DHCP options 66 and 67 are created automatically when the IPv4
address band is created.
Requirement
You are in the DHCPPOOL configuration mode.
The command prompt is as follows:
cli(config-dhcp-pool-<ID>)#
Syntax
Call up the command with the following parameters:
option <option-code> value-string <dhcp-param>
The parameters have the following meaning:
Parameter
Description
Range of values / note
option-code
Code of the DHCP option
•
12 - Host name
•
66 - TFTP server
•
67 - Bootfile name
dhcp-param
Name of the file
Enter the name in the string format.
Result
The DHCP option is configured.
Further notes
You display the setting with the
show ip dhcp-server pools
command.
You delete the DHCP option with the
no option
command.
You configure the DHCP options 3 and 6 with the
option
(IP address) command.
You disable the IPv4 address band with the
no pool-enable
command.