Use this command to configure an interface for DHCPv6 relay functionality on an interface or range of interfaces. Use the destination keyword to set the relay server IPv6 address. The relay-address parameter is an IPv6 address of a DHCPv6 relay server. Use the interface keyword to set the relay server interface. The relay-interface parameter is an interface (unit/slot/port) to reach a relay server. Multiple relay addresses can be configured on an interface. To unconfigure a particular relay address use the no command with that particular relay address. To unconfigure all relay addresses on an interface, use the no command with the relay address and no arguments.
If relay-address is an IPv6 global address, then relay-interface is not required. If relay-address is a link- local or multicast address, then relay-interface is required. Finally, if you do not specify a value for relay-address, then you must specify a value for relay-interface and the DHCPV6-ALL-AGENTS multicast address (i.e. FF02::1:2)) is used to relay DHCPv6 messages to the relay server.
| Format | ipv6 dhcp relay {destination [relay-address] interface [relay-interface] | interface [relay-interface]} [remote-id (duid-ifid | user-defined-string)] |
| Mode | Interface Config |