Network protocols
7.3 DHCP server
SCALANCE W760/W720 to IEEE 802.11n Command Line Interface
Configuration Manual, 10/2015, C79000-G8976-C351-05
315
The command prompt is as follows:
cli(config-dhcp-pool-<ID>)#
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 - Router
•
6 - DNS server
•
66 - TFTP server name
ip-adress-
list
IPv4 address or IPv4 address list
•
DHCP options 3 (Router) and 6
(DNS):
Enter the DHCP parameter as an
IPv4 address, e.g. 192.168.100.2.
With DHCP option 6, you can specify
several IPv4 addresses separated by
commas.
•
DHCP option 66 (TFTP Server):
Enter the DHCP parameter as an
IPv4 address, e.g. 192.168.100.2 or
the FQDN name. You can specify
several IPv4 addresses separated by
commas.
int-ip
Uses IPv4 address of the interface that is
assigned to the IPv4 address band.
-
Result
The DHCP option is created. In total a maximum of 20 DHCP options are possible.
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 option 67 with the
option value-string
command.
You configure all other DHCP options with the
option value-hex
command.
You configure the interface with the
set interface
command.