Network protocols
7.5 DHCP server
7.5.3.13
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
mac
mac-address
client-id
string
ip-address
Result
The assignment is specified.
Further notes
You display the setting with the
You disable the IPv4 address band with the
You delete the assignment with the
364
Description
Keyword for a MAC address
Unicast MAC address
Keyword for a DHCP client ID
Freely definable DHCP client ID
Unicast IPv4 address
show ip dhcp dhcp-server bindings
no pool-enable
no static-lease
SCALANCE XM-400/XR-500 Command Line Interface (CLI)
Range of values / note
-
Specify the MAC address.
aa:bb:cc:dd:ee:ff
-
Enter the required designation.
Maximum of 254 characters
Enter a valid IPv4 address.
The IPv4 address must match
the subnet of the IPv4 address
band.
command.
command.
Configuration Manual, 06/2016, C79000-G8976-C252-11
command.