Configuration procedure
Follow these steps to configure the DHCPv6 relay agent:
To do… | Use the command… | Remarks |
---|---|---|
Enter system view | system-view | — |
Enter interface view | interface interface-type interface-number | — |
Enable DHCPv6 relay agent on the interface and specify a DHCPv6 server | ipv6 dhcp relay server-address ipv6-address [ interface interface-type interface-number ] | Required By default, DHCPv6 relay agent is disabled and no DHCPv6 server is specified on the interface. |
NOTE: Executing the ipv6 dhcp relay server-address command repeatedly can specify multiple DHCPv6 servers, and up to eight DHCPv6 servers can be specified for an interface. After receiving requests from DHCPv6 clients, the DHCPv6 relay agent forwards the requests to all the specified DHCPv6 servers. If the DHCPv6 server address is a link-local address or link-scoped multicast address on the local link, you need to specify an outgoing interface using the interface keyword in the ipv6 dhcp relay server-address command; otherwise, DHCPv6 packets may fail to be forwarded to the DHCPv6 server. After you remove all the specified DHCPv6 servers from an interface with the undo ipv6 dhcp relay server-address command, DHCPv6 relay agent is disabled on the interface. An interface cannot serve as a DHCPv6 relay agent and DHCPv6 server at the same time. Hewlett Packard Enterprise recommends that you not enable the DHCPv6 relay agent and DHCPv6 client on the same interface. | ||