![Siemens SCALANCE S615 Configuration Manual Download Page 205](http://html.mh-extra.com/html/siemens/scalance-s615/scalance-s615_configuration-manual_377351205.webp)
Network protocols
6.4 DHCP server
SCALANCE S615 Command Line Interface
Configuration Manual, 06/2015, C79000-G8976-C406-02
205
6.4.3.9
static-lease mac
Description
With this command you specify that devices with a certain MAC address are assigned to the
selected IPv4 address.
Note
A maximum of 20 assignments are possible.
Requirement
●
The assignment has not yet been created.
●
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:
static lease mac <mac-address><ip-address>
The parameters have the following meaning:
Parameter
Description
Range of values / note
mac-address
Unicast MAC address
Specify the MAC address.
aa:bb:cc:dd:ee:ff
ip-address
Unicast IPv4 address
Enter a valid IPv4 address.
The IPv4 address must match
the subnet of the IPv4 address
band.
Result
The assignment is specified.
Further notes
You display the setting with the
show ip dhcp dhcp-server bindings
command.
You disable the IPv4 address band with the
no pool-enable
command.
You delete the assignment with the
no static-lease mac
command.