![H3C SR8800-F Configuration Manual Download Page 205](http://html2.mh-extra.com/html/h3c/sr8800-f/sr8800-f_configuration-manual_4025863205.webp)
189
Enabling the DHCPv6 server to advertise IPv6
prefixes
A DHCPv6 client can obtain an IPv6 prefix through DHCPv6 and use this IPv6 prefix to assign IPv6
addresses for clients in a downstream network. If the IPv6 prefix is in a different subnet than the IPv6
address of the DHCPv6 client's upstream interface, the clients in the downstream network cannot
access the external network. If the DHCPv6 server is on the same link as the DHCPv6 client, enable
the DHCPv6 server to advertise the IPv6 prefix.
To enable the DHCPv6 server to advertise IPv6 prefixes:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enable the DHCPv6 server
to advertise IPv6 prefixes.
ipv6 dhcp advertise pd-route
By default, the DHCPv6 server
does not advertise IPv6 prefixes.
Enabling DHCPv6 logging on the DHCPv6 server
The DHCPv6 logging feature enables the DHCPv6 server to generate DHCPv6 logs and send them
to the information center. For information about the log destination and output rule configuration in
the information center, see
Network Management and Monitoring Configuration Guide
.
As a best practice, disable this feature if the log generation affects the device performance or
reduces the address and prefix allocation efficiency. For example, this situation might occur when a
large number of clients frequently come online or go offline.
To configure DHCPv6 logging on the DHCPv6 server:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enable DHCPv6 logging.
ipv6 dhcp log enable
By default, DHCPv6 logging is
disabled.
Display and maintenance commands for DHCPv6
server
Execute
display
commands in any view and
reset
commands in user view.
Task Command
Display the DUID of the local device.
display ipv6 dhcp duid
Display information about a DHCPv6
option group.
display ipv6 dhcp option-group
[
option-group-number
]
Display DHCPv6 address pool
information.
display ipv6 dhcp pool
[
pool-name
|
vpn-instance
vpn-instance-name
]
Display prefix pool information.
display ipv6 dhcp prefix-pool
[
prefix-pool-number
]
[
vpn-instance
vpn-instance-name
]