Network protocols
7.5 DHCP server
SCALANCE XM-400/XR-500 Command Line Interface (CLI)
Configuration Manual, 06/2016, C79000-G8976-C252-11
355
Option (IP address)
Description
With this command you configure the DHCP options 3 and 6 that contain an IPv4 address as
DHCP parameter. The DHCP options 3 and 6 are created automatically when the IPv4
address band is created.
You are in the DHCPPOOL configuration mode.
The command prompt is as follows:
cli(config-dhcp-pool-<ID>)#
Call up the command with the following parameters:
option <option-code> { <ip-address-list> | int-ip }
The parameters have the following meaning:
Code of the DHCP option
• 3 - Default gateway
• 6 - DNS server
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 ad-
dresses separated by commas.
Uses IPv4 address of the interface that is
assigned to the IPv4 address band.
Only with DHCP option 3
The DHCP option is created.
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.