8.5.3.10
static-lease
Description
With this command you specify that devices with a certain MAC address or client ID are
assigned to the preset IPv4 address.
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.
Maximum of 254 characters
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
command.
Network protocols
8.5 DHCP server
SCALANCE W770/W730 acc. to IEEE 802.11n Command Line Interface
404
Configuration Manual, 09/2017, C79000-G8976-C324-08