190
Task Command
Display DHCPv6 server information on an
interface.
display ipv6 dhcp server
[
interface interface-type
interface-number
]
Display information about IPv6 address
conflicts.
display ipv6 dhcp server conflict
[
address
ipv6-address
]
[
vpn-instance
vpn-instance-name
]
Display information about DHCPv6
binding auto backup
display ipv6 dhcp server database
Display information about expired IPv6
addresses.
display ipv6 dhcp server expired
[ [
address
ipv6-address
]
[
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
Example: Configuring dynamic IPv6 prefix assignment
Network configuration
As shown in
, 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
.