Network requirements – H3C Technologies H3C S5560 Series Switches User Manual
Page 196

181
# Display information about address pool 1.
[Switch-Vlan-interface2] display ipv6 dhcp pool 1
DHCPv6 pool: 1
Network: 1::/64
Preferred lifetime 604800, valid lifetime 2592000
Prefix pool: 1
Preferred lifetime 86400, valid lifetime 259200
Static bindings:
DUID: 00030001ca0006a40000
IAID: Not configured
Prefix: 2001:410:201::/48
Preferred lifetime 86400, valid lifetime 259200
DNS server addresses:
2:2::3
Domain name:
aaa.com
SIP server addresses:
2:2::4
SIP server domain names:
bbb.com
# Display information about prefix pool 1.
[Switch-Vlan-interface2] display ipv6 dhcp prefix-pool 1
Prefix: 2001:410::/32
Assigned length: 48
Total prefix number: 65536
Available: 65535
In-use: 0
Static: 1
# After the client with the DUID 00030001CA0006A40000 obtains an IPv6 prefix, display the binding
information on the DHCPv6 server.
[Switch-Vlan-interface2] display ipv6 dhcp server pd-in-use
Pool: 1
IPv6 prefix Type Lease expiration
2001:410:201::/48 Static(C) Jul 10 19:45:01 2009
# After the other client obtains an IPv6 prefix, display binding information on the DHCPv6 server.
[Switch-Vlan-interface2] display ipv6 dhcp server pd-in-use
Pool: 1
IPv6 prefix Type Lease expiration
2001:410:201::/48 Static(C) Jul 10 19:45:01 2009
2001:410::/48 Auto(C) Jul 10 20:44:05 2009
Dynamic IPv6 address assignment configuration example
Network requirements
As shown in
, Switch A acts as a DHCPv6 server to assign IPv6 addresses to the clients in
subnets 1::1:0:0:0/96 and 1::2:0:0:0/96. On Switch A, configure the IPv6 address for VLAN-interface
10 and 1::2:0:0:1/96 for VLAN-interface 20. The lease duration of the addresses on subnet