267
Predefined user roles
network-admin
Parameters
dscp-value: Sets the DSCP value for DHCPv6 packets, in the range of 0 to 63.
Usage guidelines
The DSCP value is carried in the Traffic class field of a DHCPv6 packet. It specifies the priority level
of the packet and affects the transmission priority of the packet. A bigger DSCP value represents a
higher priority.
Examples
# Set the DSCP value for DHCPv6 packets sent by the DHCPv6 client to 30.
<Sysname> system-view
[Sysname] ipv6 dhcp client dscp 30
ipv6 dhcp client pd
Use ipv6 dhcp client pd to configure an interface to use DHCPv6 for IPv6 prefix acquisition.
Use undo ipv6 dhcp client pd to cancel an interface from using DHCPv6, and clear the obtained
IPv6 prefix and other configuration parameters.
Syntax
ipv6 dhcp client pd prefix-number [ rapid-commit ]
undo ipv6 dhcp client pd
Default
An interface does not use DHCPv6 for IPv6 prefix acquisition.
Views
Layer 3 Ethernet interface/subinterface view
Layer 3 aggregate interface/subinterface view
Management Ethernet interface view
VLAN interface view
Predefined user roles
network-admin
Parameters
prefix-number: Specifies an IPv6 prefix ID in the range of 1 to 1024. After obtaining an IPv6 prefix,
the client assigns the ID to the IPv6 prefix.
rapid-commit: Supports rapid address or prefix assignment.
Examples
# Configure VLAN-interface10 to use DHCPv6 for IPv6 prefix acquisition. Specify an ID for the
dynamic IPv6 prefix, and configure the client to support rapid prefix assignment.
<Sysname> system-view
[Sysname] interface vlan-interface 10
[Sysname-Vlan-interface10] ipv6 dhcp client pd 1 rapid-commit
Related commands
display ipv6 dhcp client