HP MSR2000/3000/4000 Router Series Layer 3 - IP Services Command Reference
263
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
reset ipv6 dhcp server ip-in-use and reset ipv6 dhcp server pd-in-use commands to remove IPv6
address/prefix bindings.
An interface cannot serve as the DHCPv6 relay agent and the DHCPv6 server at the same time. Do not
enable the DHCPv6 relay agent, the DHCPv6 server, and the DHCPv6 client on the same interface.
Examples
# Enable the DHCPv6 server on Ethernet 1/1.
<Sysname> system-view
[Sysname] interface ethernet 1/1
[Sysname-Ethernet1/1] ipv6 dhcp select server
# Enable the DHCPv6 relay agent on Ethernet 1/2.
<Sysname> system-view
[Sysname] interface ethernet 1/2