static-bind

Syntax

static-bind ipv6client-id[hostname] no static-bind ipv6

Description

创建一个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.

Thenoform of this command removes the specified static binding from the pool.

Command context

config-dhcpv6-server-pool

Parameters

Specifies the IP address to assign in IPv6 format (xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx), wherexis a hexadecimal number from 0 to F. For example, this address2222:0000:3333:0000:0000:0000:4444:0055becomes2222:0:3333::4444:55.

client-id

Specifies the client identifier or DUID.

hostname

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 poolprimary-poolon VRFprimary.

switch(config)#dhcpv6-server vrf primaryswitch(config-dhcpv6-server)#pool primary-poolswitch(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 poolprimary-poolon VRFprimary.

switch(config)#dhcpv6-server vrf primaryswitch(config-dhcpv6-server)#pool primary-poolswitch(config-dhcpv6-server-pool)#no static-bind ipv6 2001::10 client-id 1:0:a0:24:ab:fb:9c