2-324
Catalyst 3750-X and 3560-X Switch Command Reference
OL-29704-01
Chapter 2 Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
ipv6 dhcp server
ipv6 dhcp server
Use the ipv6 dhcp server interface configuration command on the switch stack or on a standalone switch
to enable Dynamic Host Configuration Protocol for IPv6 (DHCPv6) service on an interface. To disable
DHCPv6 service on an interface, use the no form of this command.
ipv6 dhcp server [poolname | automatic] [rapid-commit] [preference value] [allow-hint]
no ipv6 dhcp server [poolname | automatic] [rapid-commit] [preference value] [allow-hint]
Note This command is available only if you have configured a dual IPv4 and IPv6 Switch Database
Management (SDM) template on the switch. The command is not supported on switches running the
LAN base feature set.
Syntax Description
Defaults By default, no DHCPv6 packets are serviced on the interface.
Command Modes Interface configuration
Command History
Usage Guidelines The ipv6 dhcp server interface configuration command enables DHCPv6 service on a specified
interface.
The automatic keyword enables the system to automatically determine which pool to use when
allocating addresses for a client. When an IPv6 DHCP packet is received by the server, the server
determines if it was received from a DHCP relay or if it was directly received from the client. If the
packet was received from a relay, the server verifies the link-address field inside the packet associated
with the first relay that is closest to the client. The server matches this link-address against all address
prefix and link-address configurations in IPv6 DHCP pools to find the longest prefix match. The server
selects the pool associated with the longest match.
poolname (Optional) User-defined name for the IPv6 DHCP pool. The pool name can
be a symbolic string (such as Engineering) or an integer (such as 0).
automatic (Optional) Enable the server to automatically determine which pool to use
when allocating addresses for a client.
rapid-commit (Optional) Allow two-message exchange method.
preference value (Optional) The preference value carried in the preference option in the
advertise message sent by the server. The range is from 0 to 255. The
preference value default is 0.
allow-hint (Optional) Specify whether the server should consider client suggestions in
the SOLICIT message. By default, the server ignores client hints.
Release Modification
12.2(53)SE2 This command was introduced.