Syntax
Call up the command with the following parameters:
option <option-code> { <ip-address-list> | int-ip }
The parameters have the following meaning:
Parameter
Description
Range of values / note
option-
code
Code of the DHCP option
● 3 - Default gateway
● 6 - DNS server
ip-adress-
list
IPv4 address or IPv4 address list
● DHCP option 3 (default gateway):
Enter the DHCP parameter as an IPv4
address, e.g. 192.168.100.2.
● DHCP option 6 (name server):
Enter the DHCP parameter as an IPv4
address, e.g. 192.168.100.2. You can
specify up to three IPv4 addresses
separated by commas.
int-ip
Uses IPv4 address of the interface that is
assigned to the IPv4 address band.
Only with DHCP option 3
Result
The DHCP option is created.
Further notes
You display the setting with the
show ip dhcp-server pools
command.
You disable the IPv4 address band with the
no pool-enable
command.
You delete the DHCP option with the
no option
command.
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.3.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:
Network protocols
7.3 DHCP server
SCALANCE XB-200/XC-200/XF-200BA/XP-200/XR-300WG Command Line Interface
Configuration Manual, 07/2017, C79000-G8976-C361-06
297