H3C Technologies H3C S12500 Series Switches User Manual
Page 154

141
403B
Configuration considerations
To configure the DHCPv6 server:
•
Create a prefix pool.
To assign prefixes in the range of 2001:0410::/48 to 2001:0410:FFFF::/48, specify a prefix
2001:0410::/32 and specify the assigned prefix length as 48 in the pool.
•
Create an address pool.
Specify a subnet where the IPv6 address of the server interface connecting the clients resides.
•
Configure a static prefix binding, apply the prefix pool, and configure other configuration
parameters in the address pool.
•
Enable the DHCPv6 server on the interface that connects the clients.
Figure 56 Network diagram
404B
Configuration procedure
# Configure the IPv6 address of VLAN-interface 2.
[Switch] interface vlan-interface 2
[Switch-Vlan-interface2] ipv6 address 1::1/64
[Switch-Vlan-interface2] quit
# Create prefix pool 1, and specify the prefix 2001:0410::/32 with the assigned prefix length being 48.
[Switch] ipv6 dhcp prefix-pool 1 prefix 2001:0410::/32 assign-len 48
# Create address pool 1.
[Switch] ipv6 dhcp pool 1
# In address pool 1, configure subnet 1::/64 where VLAN interface-2 resides.
[Switch-dhcp6-pool-1] network 1::/64
# Apply prefix pool 1 to address pool 1, and set the preferred lifetime to one day, and the valid lifetime
to three days.
[Switch-dhcp6-pool-1] prefix-pool 1 preferred-lifetime 86400 valid-lifetime 259200
# In address pool 1, bind prefix 2001:0410:0201::/48 to the client DUID 00030001CA0006A40000,
and set the preferred lifetime to one day, and the valid lifetime to three days.
[Switch-dhcp6-pool-1] static-bind prefix 2001:0410:0201::/48 duid 00030001CA0006A40000
preferred-lifetime 86400 valid-lifetime 259200
# Configure the DNS server address 2:2::3.
[Switch-dhcp6-pool-1] dns-server 2:2::3
- H3C SR8800 H3C SR6600-X H3C SR6600 H3C WX6000 Series Access Controllers H3C WX5000 Series Access Controllers H3C WX3000 Series Unified Switches H3C LSWM1WCM10 Access Controller Module H3C LSWM1WCM20 Access Controller Module H3C LSQM1WCMB0 Access Controller Module H3C LSRM1WCM2A1 Access Controller Module H3C LSBM1WCM2A0 Access Controller Module H3C S6800 Series Switches H3C S3100V2 Series Switches H3C S12500-X Series Switches H3C S9800 Series Switches