Configuration procedure – H3C Technologies H3C S12500 Series Switches User Manual
Page 186
172
•
You cannot use the network command to configure the same subnet in different address pools.
Configuration procedure
To configure the DHCPv6 server to assign IPv6 addresses to DHCPv6 clients:
Step Command
Description
1.
Enter system view.
system-view
N/A
2.
Create a DHCPv6
address pool and enter
its view.
ipv6 dhcp pool pool-number
Not configured by
default.
3.
Configure the DHCPv6
server to assign IPv6
addresses to DHCPv6
clients
•
Configure a static IPv6 address binding:
static-bind address
ipv6-address/addr-prefix-length duid duid [ iaid
iaid ] [ preferred-lifetime preferred-lifetime
valid-lifetime valid-lifetime ]
•
Specify a subnet in the DHCPv6 address pool:
network network-address/prefix-length
[ preferred-lifetime preferred-lifetime
valid-lifetime valid-lifetime ]
Use at least one
command.
Not configured by
default.
Configuring network parameters in a DHCPv6
address pool
Besides IPv6 prefixes and IPv6 addresses, you can configure other network parameters in a DHCPv6
address pool, such as DNS server address, client domain name, SIP server address and domain name,
and AFTR address. For more information about AFTR, see "Configuring tunneling."
To configure network parameters in a DHCPv6 address pool:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter DHCPv6 address pool
view.
ipv6 dhcp pool pool-number
Not configured by default.
3.
Configure a DNS server
address.
dns-server ipv6-address
Optional.
Not configured by default.
4.
Configure a domain name. domain-name domain-name
Optional.
Not configured by default.
5.
Configure the IPv6 address
or domain name of a SIP
server.
sip-server { address ipv6-address |
domain-name domain-name }
Optional.
Not configured by default.
6.
Specify the AFTR address.
ds-lite address ipv6-address
Optional.
Not specified by default.