Command Reference DHCPv6 Commands
Parameter Description
ipv6-address
Set the DHCPv6 relay destination address.
Parameter
Description
interface-type
interface-number
Specify the forwarding output interface if the forwarding address is
the local link address.
Defaults
The relay and forward function is disabled, and the forwarding destination address and the output
interface are not configured.
Command
Mode
Interface configuration mode.
Usage Guide
With the DHCPv6 relay service enabled on the interface, the DHCPv6 message received on the
interface can be forwarded to all configured destination addresses. Those received DHCPv6
messages can be from the client, or from another DHCPv6 relay service.
The forwarding output interface configuration is mandatory if the forwarding address is the local link
address or the multicast address. And the forwarding output interface configuration is optional if the
forwarding address is global or station unicast or multicast address.
Without the forwarding output interface configured, the interface is selected according to the unicast
or multicast routing protocol.
The relay reply message can be forwarded without the relay function enabled on the interface.
The DHCPv6 Relay Destination command can only be enabled on layer-3 interface.
When Destination is configured as multicast address, it must be followed by outgoing
interface ID.
Configuration
Examples
The following example shows how to set the relay destination address on the interface:
Ruijie(config)# interface fastethernet 0/1
Ruijie(config-if)# ipv6 dhcp relay destination 2008:1::1
The following example specifies the destination as 3001::2 while enabling DHCPv6 Relay service on
the interface Interface VLAN1.
Ruijie#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Ruijie(config)#interface vlan 1
Ruijie(config-if)#ipv6 dhcp relay destination 3001::2
Ruijie(config-if)#end
Command Description Related
Commands
show ipv6 dhcp interface
Show the DHCPv6 interface information.
show ipv6 dhcp relay destination { all |
interface interface-type interface-number }
Show the destination address list of the current
Relay.