CLI Guide

Switch Management Commands 2024
Command Mode
Interface Configuration (VLAN, Tunnel) mode
User Guidelines
The IPv6 DHCP service must be enabled to use this feature. Enable the IPv6
DHCP service using the service dhcpv6 command.
An IP interface (VLAN) may be configured in DHCP relay mode or server
mode. Configuring an interface in DHCP relay mode overwrites DHCP server
mode and vice-versa. An IP interface configured in relay mode cannot be
configured as a DHCP client (ip address dhcp).
Up to 10 relay destinations may be configured per interface. If a destination
relay address has global scope, then the interface option (option 18) is not
required. If the destination relay address scope is link local (FE80::) or
multicast (FF00::/8), then the destination interface option (Option 18) must
be configured.
If no relay destination is configured, then a relay interface must be
configured and the DHCPV6-ALLAGENTS multicast address (i.e.
FF02::1:2) is used to relay DHCPv6 messages to the relay server.
The remote ID (option 37) may be configured with the keyword duid-ifid,
which causes the remote ID to be derived from the DHCPv6 server DUID
and the relay interface, or it may be a user-defined string. The remote ID
must be unique.
Example
The following example configures VLAN 15 for DHCPv6 relay functionality.
console(config)#service dhcpv6
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.