
182
•
Configure network parameters in a DHCPv6 option group, and specify the option group for a
DHCPv6 address pool.
Network parameters configured in a DHCPv6 address pool take precedence over those configured
in a DHCPv6 option group.
Configuring network parameters in a DHCPv6 address pool
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Create a DHCPv6 address
pool and enter its view.
ipv6 dhcp pool
pool-name
By default, no DHCPv6
address pools exist.
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 an AFTR domain
name.
aftr-name
aftr-name
By default, no AFTR domain
name is specified.
7.
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.
8.
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
You can create a static DHCPv6 option group by using the
ipv6 dhcp option-group
command.
To create a static DHCPv6 option group:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Create a static DHCPv6
option group and enter its
view.
ipv6 dhcp option-group
option-group-number
By default, no static DHCPv6
option groups exist.
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.