static-bind

Syntax

static-bind ip <IPV4-ADDR> mac <MAC-ADDR> [hostname <HOST>]

no static-bind <IPV4-ADDR-LIST>

Description

Creates a static binding that associates an IP address in the current pool with a specific MAC address. This causes the DHCPv4 server to only assign the specified IP address to a client station with the specified MAC address.

The no form of this command removes the specified binding.

Command context

config-dhcp-server-pool

Parameters

<IPV4-ADDR>

Specifies an IP address in IPv4 format (x.x.x.x), where x is a decimal number from 0 to 255. The IP address must be within the address range defined for the current pool.

mac <MAC-ADDR>

Specifies a client station MAC address (xx:xx:xx:xx:xx:xx), where x is a hexadecimal number from 0 to F.

hostname <HOST>

Specifies the host name of the client station. Range: 1 to 255 printable ASCII characters

Authority

Administrators or local user group members with execution rights for this command.

Example

Defines a static address for the server pool primary-pool on VRF primary.

switch(config)# dhcp-server vrf primary
switch(config-dhcp-server)# pool primary-pool
switch(config-dhcp-server-pool)# static-bind ip 10.0.0.1 mac 24:be:05:24:75:73

Deletes a static address from the server pool primary-pool on VRF primary.

switch(config)# dhcp-server vrf primary
switch(config-dhcp-server)# pool primary-pool
switch(config-dhcp-server-pool)# no static-bind ip 10.0.0.1 mac 24:be:05:24:75:73