DHCPv6 Commands 899
Default Configuration
This command has no default configuration.
Command Mode
Interface Configuration (VLAN, Tunnel) mode
User Guidelines
If
relay-address
is an IPv6 global address, then

relay-inter face

is not required.
If
relay-address
is a link-local or multicast address, then

relay-interface

is
required. Finally, a value for

relay-address

is not specified, then a value for

relay-inter face

must be specified and the DHCPV6-ALLAGENTS multicast
address (i.e. FF02::1:2) is used to relay DHCPv6 messages to the relay server.
An IP interface (VLAN) can be configured in DHCP relay mode or DHCP
server mode. Configuring an interface in DHCP relay mode overwrites the
DHCP server mode and vice-versa.
An IP interface configured in relay mode cannot be configured as a DHCP
client (ip address dhcp).
Example
The following example configures VLAN 15 for DHCPv6 relay functionality.
console(config)#interface vlan 15
console(config-if-vlan15)#ipv6 dhcp relay destination
2020:1::1
ipv6 dhcp server
Use the ipv6 dhcp server command in Interface Configuration mode to
configure DHCPv6 server functionality on an interface. For a particular
interface DHCPv6 server and DHCPv6 relay functions are mutually exclusive.
Syntax
ipv6 dhcp server
pool-name
[rapid-commit] [preference

pref-value

]

pool-name

— The name of the DHCPv6 pool containing stateless and/or
prefix delegation parameters
2CSPC4.XCT-SWUM2XX1.book Page 899 Monday, October 3, 2011 11:05 AM