Enable the DHCPv6 PD server function in the interface view.
Enable the DHCPv6 PD server function and specify the IPv6 PD address pool on the interface that connects the device to the DHCPv6 clients. After receiving the DHCPv6 request packets sent by the clients from the interface, the device assigns configuration parameters such as IPv6 address prefixes or DNS server addresses to the DHCPv6 clients from the IPv6 address pool bound to the interface.
Only one IPv6 PD address pool can be specified on an interface.
If the DHCPv6 PD server function is enabled in the interface view, the configuration information only takes effect on the interface.
Enable the DHCPv6 PD server function in the system view.
The DHCPv6 PD server and DHCPv6 PD clients are in different link scopes and a DHCPv6 relay exists. If the DHCPv6 PD server function is enabled in the interface view, configuration parameters such as IPv6 address prefixes are assigned only to the clients in one network segment connected to the DHCPv6 relay, because only one IPv6 PD address pool can be specified on an interface. If configuration parameters such as IPv6 address prefixes need to be assigned to the DHCPv6 PD clients in multiple network segments through the DHCPv6 relay, enable the DHCPv6 PD server function in the system view.
The configuration method of enabling the DHCPv6 PD server function in the interface view is affected by the physical interface status. If the interface status is Down, the DHCPv6 PD server cannot successfully assign network configuration parameters to clients through the DHCPv6 relay. If the DHCPv6 PD server function is enabled in the system view and there are multiple reachable routes between the DHCPv6 relay and DHCPv6 PD server, configuration parameters such as IPv6 address prefixes can be assigned to clients through the DHCPv6 relay as long as one route between the DHCPv6 relay and DHCPv6 PD server is reachable. This improves reliability of the configuration information obtained by the clients. In addition, no configuration is required on the interface, which reduces the administrator's maintenance workload.
If the DHCPv6 PD server function is enabled in the system view, the configuration information takes effect on all interfaces of the device.
If the DHCPv6 PD server function is enabled concurrently in the system view and interface view, the configuration in the interface view takes precedence over that in the system view.
The uplink interface of the DHCPv6 PD client, namely, the interface connecting to the DHCPv6 PD server or relay agent, needs to automatically generate global unicast IPv6 addresses through RA messages and further generate routes destined for the DHCPv6 PD server. Therefore, the RA message advertisement function needs to be configured on the interface of the DHCPv6 PD server or relay agent connected to the uplink interface of the DHCPv6 PD client.
The system view is displayed.
The interface view is displayed.
Run undo ipv6 nd ra halt
The RA message advertisement function is enabled on the device.
By default, the RA message advertisement function is disabled on a device.