mac

Commands for DHCPv6
320
27.11 ipv6 address
Command: ipv6 address <prefix-name> <ipv6-prefix/prefix-length>
no ipv6 address <prefix-name> <ipv6-prefix/prefix-length>
Function: To configure the specified interface to use prefix delegation for address
allocation. The no form of this command will disable the using of prefix delegation for
address allocation.
Parameters: <prefix-name> is a string with its length no more than 32, designating or
manual configuring the name of the address prefix defined in the prefix pool.
<ipv6-prefix/prefix-length> is latter part of the IPv6 address excluding the address
prefix, as well as its length.
Command Mode: Interface Configuration Mode.
Default: No global address is configured for interfaces by default.
Usage Guide: The IPv6 address of an interface falls into two parts: <prefix-name> and
<ipv6-prefix>/<prefix-length>. If routing advertisement has been enabled, the first 64
bits of the addresses will be advertised. The address generated by <prefix-name> and
<ipv6-prefix/prefix-length> combination will be removed, and the advertising of the
prefix will be disabled. Only one <ipv6-prefix/prefix-length> can be configured for one
prefix name.
Example: If the prefix name my-prefix designates 2001:da8:221::/48, then the following
command will add the address 2001:da8:221:2008::2008 to interface VLAN1.
Switch(Config-if-Vlan1)# ipv6 address my-prefix 0:0:0:2008::2008/64
27.12 ipv6 dhcp client pd
Command: ipv6 dhcp client pd <prefix-name> [rapid-commit]
no ipv6 dhcp client pd
Function: To configure DHCPv6 prefix delegation client for the specified interface. The
no form of this command will disable the DHCPv6 prefix delegation client and remove
the allocated address prefix.
Parameters: <prefix-name> is the string with its length no more than 32, which
designates the name of the address prefix. If rapid-commit optional is specified and the
prefix delegation server enables the rapid-commit function, then the prefix delegation
server will reply the prefix delegation client with the REPLY message directly. And the
prefix delegation request will be accomplished by exchanging messages once.
Command Mode: Interface Configuration Mode.
Default: DHCPv6 prefix delegation client is not enabled by default.