R0106-HP MSR Router Series Layer 3 - IP Services Command Reference(V7)
297
Parameters
dscp-value: Specifies the DSCP value for DHCPv6 packets, in the range of 0 to 63.
Usage guidelines
The DSCP value of a packet 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 to 30 for DHCPv6 packets sent by the DHCPv6 server or the DHCPv6 relay agent.
<Sysname> system-view
[Sysname] ipv6 dhcp dscp 30
ipv6 dhcp select
Use ipv6 dhcp select to enable the DHCPv6 server or DHCPv6 relay agent on an interface.
Use undo ipv6 dhcp select to restore the default.
Syntax
ipv6 dhcp select { relay | server }
undo ipv6 dhcp select
Default
An interface discards DHCPv6 packets from DHCPv6 clients.
Views
Interface view
Predefined user roles
network-admin
Parameters
relay: Enables the DHCPv6 relay agent on the interface.
server: Enables the DHCPv6 server on the interface.
Usage guidelines
Before changing the DHCPv6 server mode to the DHCPv6 relay agent mode on an interface, use the
following commands to remove IPv6 address/prefix bindings:
• reset ipv6 dhcp server ip-in-use
• reset ipv6 dhcp server pd-in-use
Do not enable the DHCPv6 relay agent, the DHCPv6 server, and the DHCPv6 client on the same
interface.
Examples
# Enable the DHCPv6 server on GigabitEthernet 2/1/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 2/1/1
[Sysname-GigabitEthernet2/1/1] ipv6 dhcp select server
# Enable the DHCPv6 relay agent on GigabitEthernet 2/1/2.
<Sysname> system-view










