Configuring network parameters in a DHCPv6 option group
About network parameters assignment in a DHCPv6 option group
A DHCPv6 option group can be created by using the following methods:
Create a static DHCPv6 option group by using the ipv6 dhcp option-group command. The static DHCPv6 option group takes precedence over the dynamic DHCPv6 option group.
When the device acts as a DHCPv6 client, it automatically creates a dynamic DHCPv6 option group for saving the obtained parameters. For more information about creating a dynamic DHCPv6 option group, see "Configuring the DHCPv6 client."
Procedure
Enter system view.
system-view
Create a static DHCPv6 option group and enter its view.
ipv6 dhcp option-group option-group-number
Specify a DNS server address.
dns-server ipv6-address
By default, no DNS server address is specified.
Specify a domain name suffix.
domain-name domain-name
By default, no domain name suffix is specified.
Specify a SIP server address or domain name.
sip-server { address ipv6-address | domain-name domain-name }
By default, no SIP server address or domain name is specified.
Configure a self-defined DHCPv6 option.
option code hex hex-string
By default, no self-defined DHCPv6 option is configured.
Return to system view.
quit
Enter DHCPv6 address pool view.
ipv6 dhcp pool pool-name
Specify a DHCPv6 option group.
option-group option-group-number
By default, no DHCPv6 option group is specified.