185
2. Enter DHCPv6 address pool view.
ipv6 dhcp pool pool-name
3. Specify an IPv6 subnet for dynamic assignment.
network { prefix/prefix-length | prefix prefix-number
[ sub-prefix/sub-prefix-length ] } [ preferred-lifetime
preferred-lifetime valid-lifetime valid-lifetime ]
By default, no IPv6 subnet is specified.
The IPv6 subnets cannot be the same in different address pools.
If you specify an IPv6 prefix by its ID, make sure the IPv6 prefix is in effect. Otherwise, the
configuration does not take effect.
4. Specify a DNS server address.
dns-server ipv6-address
By default, no DNS server address is specified.
5. Specify a domain name.
domain-name domain-name
By default, no domain name is specified.
6. 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.
7. Configure a self-defined DHCPv6 option.
option code hex hex-string
By default, no self-defined DHCPv6 option is configured.
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
1. Enter system view.
system-view
2. Create a static DHCPv6 option group and enter its view.
ipv6 dhcp option-group option-group-number
3. Specify a DNS server address.
dns-server ipv6-address
By default, no DNS server address is specified.
4. Specify a domain name suffix.
domain-name domain-name
By default, no domain name suffix is specified.
5. Specify a SIP server address or domain name.
sip-server { address ipv6-address | domain-name domain-name }