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
addresses
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:
network <lower-IP> <upper-IP> { <subnet-mask> | / <prefix-length (1-32)> }
The parameters have the following meaning:
Parameter
Description
Range of values / note
lower-IP
Start of the IPv4 address band
Enter a valid IPv4 address.
upper-IP
End of the IPv4 address band
Enter a valid IPv4 address.
subnet-mask
Subnet mask of the corresponding
subnet
Enter a valid subnet mask
prefix-length
Decimal representation of the
mask as a number of "1" bits
1 ... 32
Result
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.
Further notes
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.