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 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.
- 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
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