To implement the DHCPv6 function, you need to create an IPv6 address pool and configure its attributes including the IPv6 address range, IPv6 configuration update time, IPv6 addresses not to be automatically allocated, and IPv6 addresses to be statically bound to clients. IPv6 addresses can be dynamically assigned or statically bound to clients based on client requirements.
The system view is displayed.
An IPv6 address pool is created and the address pool view is displayed.
By default, no IPv6 address pool is created on the device.
When functioning as a DHCPv6 server, the device supports the DHCPv6 stateful mode and DHCPv6 stateless mode to assign network parameters to clients. In DHCPv6 stateful mode, the DHCPv6 server automatically provides IPv6 addresses, prefixes, and other network configuration parameters, such as DNS, NIS, and SNTP server addresses. In DHCPv6 stateless mode, the DHCPv6 server does not provide IPv6 addresses but provides other configuration parameters about the DNS, NIS, and SNTP servers. IPv6 addresses for clients are still generated based on Route Advertisement (RA) packets.
When the DHCPv6 server needs to automatically assign network parameters in DHCPv6 stateful mode, run the address prefix ipv6-prefix/ipv6-prefix-length [ eui-64 ] [ life-time { valid-lifetime | infinite } { preferred-lifetime | infinite } ] command to configure network prefixes and lifetimes in the IPv6 address pool view.
By default, no network prefix and lifetime are configured in the IPv6 address pool view.
When the DHCPv6 server needs to automatically assign network parameters in DHCPv6 stateless mode, run the link-address ipv6-prefix/ipv6-prefix-length command to configure networks prefixes in the IPv6 address pool view.
By default, no network prefix is configured in the IPv6 address pool view.
The DHCPv6 server determines the clients on network segments to which the server assigns network configuration parameters from an address pool based on the configured network prefixes.
The IPv6 address pool is locked
By default, the IPv6 address pool is unlocked.
The IPv6 address is statically bound to the client DUID.
By default, no IPv6 address is bound to client DUID in the address pool view.
To statically assign specified IPv6 addresses to some specific clients, specify the mapping between IPv6 addresses and client DUIDs. When such a client requests an IPv6 address from the DHCPv6 server, the device functioning as the DHCPv6 server assigns the specified IPv6 address to the client.
Configure the specified IPv6 addresses to be assigned only to the clients with specified DUIDs.
The range of the IPv6 addresses that cannot be automatically assigned is specified in the IPv6 address pool.
By default, all IPv6 addresses in the address pool can be automatically assigned to clients. If only one IPv6 address is not automatically assigned, you can specify only the value of start-ipv6-address.
The time is configured for updating configuration parameters assigned to clients through stateless DHCPv6 address autoconfiguration.
By default, the time for updating IPv6 address pool configuration is 86400s (24 hours).
The IPv6 address for the AC is configured.
Only the S5720-HI, S5730-HI, S5731-H, S5731S-H, S5732-H, S6720-HI, S6730S-H, and S6730-H support this command.
By default, the AC's IPv6 address is not configured in the IPv6 address pool view.
In the AC+Fit AP scenario, the AC needs to establish connections with APs. The device functioning as a DHCPv6 server can specify the AC's IPv6 address for an AP. The AP then can connect to the specified AC. If the AC and AP are located in the same network segment, this step is optional because the AP will send a broadcast packet to automatically discover the AC. If the AC and AP are located in different network segments, this step is mandatory.
The percentage of the lease renewal time and the percentage of the rebinding time in the preferred lifetime of an IPv6 address pool are configured.
By default, the percentage of the lease renewal time in the preferred lifetime of an IPv6 address pool is 50%, and the percentage of the rebinding time is 80%.
The aging time is set for conflicted addresses in the IPv6 address pool.
By default, the aging time of conflicted addresses is 172800s (two days).