Applying the address pool to an interface
After an address pool is applied to an interface, a prefix and other configuration parameters can be selected from the address pool and assigned to the DHCPv6 client requesting through the interface.
Follow these steps to apply an address pool to an interface:
To do… | Use the command… | Remarks |
---|---|---|
Enter system view | system-view | — |
Enter interface view | interface interface-type interface-number | — |
Apply the DHCPv6 address pool to the interface | ipv6 dhcp server apply pool pool-number [ allow-hint | preference preference-value | rapid-commit ] * | Required Not configured by default. |
NOTE: An interface cannot serve as a DHCPv6 server and DHCPv6 relay agent at the same time. It is not recommended that you enable DHCPv6 server and DHCPv6 client on the same interface. Only one address pool can be applied to an interface. A non-existing address pool can be applied to an interface. However, the server cannot assign any prefix or other configuration information from the address pool until the address pool is created. You cannot modify the address pool applied to an interface or parameters such as the server priority by using the ipv6 dhcp server apply pool command. You need to remove the applied address pool before you can apply another address pool to the interface or modify parameters such as the server priority. | ||