Network protocols
7.5 DHCP server
SCALANCE XM-400/XR-500 Command Line Interface (CLI)
354 Configuration Manual, 06/2016, C79000-G8976-C252-11
Note
Assignment of IP addresses
The requirement for the assignment is that the IPv4 address of the interface is located within
the IPv4 address band. If this is not the case, the interface does not assign any IPv4
address
es
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:
network <lower-IP> <upper-IP> { <subnet-mask> | / <prefix-length (1-32)> }
The parameters have the following meaning:
Start of the IPv4 address band
Enter a valid IPv4 address.
End of the IPv4 address band
Enter a valid IPv4 address.
Subnet mask of the corresponding
Enter a valid subnet mask
Decimal representation of the
mask as a number of "1" bits
1 ... 32
The IPv4 address band is configured. The DHCP options 1, 3, 6, 66 and 67 are created
automatically. With the exception of option 1, the options can be deleted.
You display the setting with the show ip dhcp-server pools command.
You assign an IP address to an interface with the
set interface command.
You configure the DHCP option 67 with the
option value-string command.
You configure the DHCP options 3, 6 and 66 with the
option command.
You delete the DHCP option with the
no option command.