Owners manual

DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
198
20. DHCPv6 Relay Commands
20-1 ipv6 dhcp relay destination
This command is used to enable the DHCP for IPv6 relay service on the interface and specify a
destination address to which client messages are forwarded to. Use the no form of the command to
remove a relay destination.
ipv6 dhcp relay destination IPV6-ADDRESS [INTERFACE-ID]
no ipv6 dhcp relay destination IPV6-ADDRESS
Parameters
IPV6-ADDRESS
Specifies the DHCPv6 relay destination address.
INTERFACE-ID
Specifies the output interface for the relay destination.
Default
By default, this option is disabled.
Command Mode
Interface Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline
To enable the DHCPv6 relay function on an interface, use the ipv6 dhcp relay destination command to
configure the relay destination address on an interface. Use the no ipv6 dhcp relay destination
command to remove the relay address. If all relay addresses are removed, the relay function is disabled.
The incoming DHCPv6 messages, being relayed can come from a client, may be already relayed by a
relay agent. The destination address to be relayed can be a DHCPv6 server or another DHCPv6 relay
agent,
The destination address can be a unicast or a multicast address, both can be a link scoped address or a
global scoped address. For link scoped addresses, the interface where the destination address is located
must be specified. For global scoped addresses, the user can optional specify the output interface. If the
output interface is not specified, the output interface is resolved via the routing table.
Multiple relay destination addresses can be specified for an interface. When the DHCPv6 message is
relayed to the multicast address, the hop limit field in the IPv6 packet header will be set to 32.
Example
This example shows how to configure the relay destination address on VLAN 1 and VLAN 2.
Switch# configure terminal
Switch(config)# interface vlan1
Switch(config-if)# ipv6 dhcp relay destination FE80::250:A2FF:FEBF:A056 vlan1
Switch(config-if)# ipv6 dhcp relay destination FE80::22:33 vlan2
Switch(config-if)#