Configuration procedure

To configure the DHCPv6 server on an interface:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter interface view.

interface interface-type interface-number

N/A

3. Enable the DHCPv6 server on the interface.

ipv6 dhcp select server

By default, the interface discards DHCPv6 packets from DHCPv6 clients.

4. Configure an address/prefix assignment method.

  • Configure global address assignment:
    ipv6 dhcp server
    { allow-hint | preference preference-value | rapid-commit } *

  • Apply a DHCPv6 address pool to the interface:
    ipv6 dhcp server
    apply pool pool-name [ allow-hint | preference preference-value | rapid-commit ] *

By default, desired address/prefix assignment and rapid assignment are disabled, and the default preference is 0.