276
Task Command
addresses. [
vpn-instance
vpn-instance-name ] |
pool
pool-name ]
Display information about IPv6 address
bindings.
display ipv6 dhcp server ip-in-use
[ [
address
ipv6-address ]
[
vpn-instance
vpn-instance-name ] |
pool
pool-name
]
Display information about IPv6 prefix
bindings.
display ipv6 dhcp server pd-in-use
[
pool
pool-name |
[
prefix
prefix/prefix-len ] [
vpn-instance
vpn-instance-name ] ]
Display packet statistics on the DHCPv6
server.
display ipv6 dhcp server statistics
[
pool
pool-name |
vpn-instance
vpn-instance-name ]
Clear information about IPv6 address
conflicts.
reset ipv6 dhcp server conflict
[
address
ipv6-address ]
[
vpn-instance
vpn-instance-name ]
Clear information about expired IPv6
address bindings.
reset ipv6 dhcp server expired
[ [
address
ipv6-address ]
[
vpn-instance
vpn-instance-name ] |
pool
pool-name ]
Clear information about IPv6 address
bindings.
reset ipv6 dhcp server ip-in-use
[ [
address
ipv6-address ]
[
vpn-instance
vpn-instance-name ] |
pool
pool-name ]
Clear information about IPv6 prefix
bindings.
reset ipv6 dhcp server pd-in-use
[
pool
pool-name | [
prefix
prefix/prefix-len ] [
vpn-instance
vpn-instance-name ] ]
Clear packets statistics on the DHCPv6
server.
reset ipv6 dhcp server statistics
[
vpn-instance
vpn-instance-name ]
DHCPv6 server configuration examples
Dynamic IPv6 prefix assignment configuration example
Network requirements
As shown in Figure 105, the router acts as a DHCPv6 server to assign an IPv6 prefix, a DNS server
address, a domain name, a SIP server address, and a SIP server name to each DHCPv6 client.
The router assigns prefix 2001:0410:0201::/48 to the client whose DUID is
00030001CA0006A40000, and assigns prefixes in the range of 2001:0410::/48 to
2001:0410:FFFF::/48 (excluding 2001:0410:0201::/48) to other clients. The DNS server address is
2::2:3. The DHCPv6 clients reside in the domain aaa.com. The SIP server address is 2:2::4, and the
SIP server name is bbb.com.
Figure 105 Network diagram
Configuration procedure
# Specify an IPv6 address for GigabitEthernet 1/0/1.