Network protocols
7.3 DHCP server
SCALANCE W760/W720 to IEEE 802.11n Command Line Interface
Configuration Manual, 11/2014, C79000-G8976-C351-03
299
7.3.4.10
static-lease mac
Note
The command is only available when the following requirements are met:
•
SCALANCE W722-1 RJ-45 (MLFB 6GK5722-1FC00-0AA0 and 6GK5722-1FC00-0AB0
(US version))
•
The IPv4 address band is not enabled.
Description
With this command you specify that devices with a certain MAC address are assigned to the
selected IPv4 address. 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.
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.