cisco Catalyst 2960 — Enabling DHCPv6 Server Function (CLI)

• Beginning from Cisco IOS XE Gibraltar 16.11.1, a DHCPv6 address will contain interface identifiers that are not part of the reserved interface identifiers range specified in RFC5453. Enabling DHCPv6 Server Function (CLI) Use the no form of the DHCP pool configuration mode commands to change the DHCPv6 pool characteristics. To disable the DHCPv6 server function on an interface, use the no ipv6 dhcp server interface configuration command. To enable the DHCPv6 server function on an interface, perform this procedure: Procedure Configuring DHCP Enabling DHCPv6 Server Function (CLI) Command or Action Purpose Step 1 enable Example: Device> enable Enables privileged EXEC mode.

Enter your password if prompted. Step 2 configure terminal Example: Device# configure terminal Enters global configuration mode. Step 3 ipv6 dhcp pool poolname Example: Device(config)# ipv6 dhcp pool 7 Enters DHCP pool configuration mode, and define the name for the IPv6 DHCP pool. The pool name can be a symbolic string (such as Engineering) or an integer (such as 0). Step 4 address prefix IPv6-prefix {lifetime} {t1 t1 | infinite} Example: Device(config-dhcpv6)# address prefix 2001:1000::0/64 lifetime 3600 (Optional) Specifies an address prefix for address assignment. This address must be in hexadecimal, using 16-bit values between colons.

lifetime t1 t1—Specifies a time interval (in seconds) that an IPv6 address prefix remains in the valid state. The range is 5 to 4294967295 seconds. Specify infinite for no time interval. Step 5 link-address IPv6-prefix Example: Device(config-dhcpv6)# link-address 2001:1002::0/64 (Optional) Specifies a link-address IPv6 prefix. When an address on the incoming interface or a link-address in the packet matches the specified IPv6 prefix, the server uses the configuration information pool. This address must be in hexadecimal, using 16-bit values between colons. Configuring DHCP 14