Network protocols
7.3 DHCP server
SCALANCE W760/W720 to IEEE 802.11n Command Line Interface
322
Configuration Manual, 10/2015, C79000-G8976-C351-05
7.3.3.10
static-lease mac
Note
The command is only available when the following requirements are met:
•
SCALANCE W722-1 RJ45 (article no.: 6GK5722-1FC00-0AA0 and 6GK5722-1FC00-
0AB0 (US version))
•
SCALANCE W761-1 RJ45 in access point mode (article number): 6GK5761-1FC00-0AA0
and 6GK5761-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.
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> | client-id <string>} <ip-address>
The parameters have the following meaning:
Parameter
Description
Range of values / note
mac
Keyword for a MAC address
-
mac-address
Unicast MAC address
Specify the MAC address.
aa:bb:cc:dd:ee:ff
client-id
Keyword for a DHCP client ID
-
string
Freely definable DHCP client ID
Enter the required designation.
ip-address
Unicast IPv4 address
Enter a valid IPv4 address.
The IPv4 address must match
the subnet of the IPv4 address
band.