ipv6 dhcp log enable
Use ipv6 dhcp log enable to enable DHCPv6 server logging.
Use undo ipv6 dhcp log enable to disable DHCPv6 server logging.
Syntax
ipv6 dhcp log enable
undo ipv6 dhcp log enable
Default
DHCPv6 server logging is disabled.
Views
System view
Predefined user roles
network-admin
mdc-admin
Usage guidelines
This command enables the DHCPv6 server to generate DHCPv6 logs and send them to the information center. The log information helps administrators locate and solve problems. 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.
Examples
# Enable DHCPv6 server logging.
<Sysname> system-view [Sysname] ipv6 dhcp log enable