Configuring a DHCPv6 relay agent

You can enable the DHCPv6 relay agent function and specify the relay destination (the DHCP server) address on an interface.
  1. Enter global configuration mode by issuing the configure terminal command.
    device# configure terminal
  2. Enter interface configuration mode.
    device(config)# interface ethernet 1/2/3
  3. Specify the relay destination (the DHCP server) address on the interface.
    device(config-if-e10000-1/2/3)# ipv6 dhcp-relay destination 2001::2
    The IPv6 address is the destination address to which client messages are forwarded and which enables DHCPv6 relay service on the interface. You can configure up to 16 relay destination addresses on an interface.
  4. Specify the outgoing interface parameter.
    device(config-if-e10000-1/2/3)# ipv6 dhcp-relay destination fe80::224:38ff:febb:e3c0  outgoing-interface ethernet 1/2/5
    Use the outgoing-interface parameter when the destination relay address is a link-local or multicast address. Specify the interface type as ethernet, tunnel interface, or VE. Specify the port-num as the port number.

The following example enables the DHCPv6 relay agent function and specifies the relay destination address (i.e. the DHCP server) on an interface.

device(config)# interface ethernet 1/2/3
device(config-if-e10000-1/2/3)# ipv6 dhcp-relay destination 2001::2 
device(config-if-e10000-1/2/3)# ipv6 dhcp-relay destination fe80::224:38ff:febb:e3c0  outgoing-interface ethernet 1/2/5