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.
- Enter global configuration mode by issuing the
configure terminalcommand. - Enter interface configuration mode.
- Specify the relay destination (the DHCP server) address on the interface.
The DHCPv6 relay agent is enabled on the specified interface, and the IPv6 destination address, to which client messages are forwarded, is defined. You can configure up to 16 relay destination addresses on an interface.
- Specify the relay destination
(the DHCP server) address on the interface and the outgoing interface on which
DHCPv6 packets will be relayed.
device(config-if-e10000-1/2/3)# ipv6 dhcp-relay destination fe80::224:38ff:febb:e3c0 outgoing-interface ethernet 1/2/5
The following example enables the DHCPv6 relay agent function on two different relay destinations (DHCP servers) for the specified ethernet interface, and specifies an ethernet port as the outgoing interface for the second destination.
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