static-bind
Syntax
static-bind ipv6 <IPVv6-ADDR> client-id <ID> [hostname <HOST>]
no static-bind ipv6 <IPVv6-ADDR-LIST>
Description
Creates a static binding that associates an IP address in the current pool with a client identifier or DUID. This causes the DHCPv6 server to only assign the specified IP address to a client station with the specified client identifier or DUID.
The
no
form of this command removes the specified static binding from the pool.
Command context
config-dhcpv6-server-pool
Parameters
<IPV6-ADDR>
Specifies the IP address to assign in IPv6 format (
xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx
), wherex
is a hexadecimal number from 0 to F. For example, this address2222:0000:3333:0000:0000:0000:4444:0055
becomes2222:0:3333::4444:55
.client-id <ID>
Specifies the client identifier or DUID.
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 DHCPv6 server pool primary-pool on VRF primary.
switch(config)# dhcpv6-server vrf primary switch(config-dhcpv6-server)# pool primary-pool switch(config-dhcpv6-server-pool)# static-bind ipv6 2001::10 client-id 1:0:a0:24:ab:fb:9c
Deletes a static address from the DHCPv6 server pool primary-pool on VRF primary.
switch(config)# dhcpv6-server vrf primary switch(config-dhcpv6-server)# pool primary-pool switch(config-dhcpv6-server-pool)# no static-bind ipv6 2001::10 client-id 1:0:a0:24:ab:fb:9c