DHCPv6 commands
Common DHCPv6 commands
display ipv6 dhcp duid
Use display ipv6 dhcp duid to display the DUID of the local device.
Syntax
display ipv6 dhcp duid
Views
Any view
Predefined user roles
network-admin
network-operator
Usage guidelines
A DHCP unique identifier (DUID) uniquely identifies a DHCPv6 device (DHCPv6 client, server, or
relay agent). A DHCPv6 device adds its DUID in a sent packet.
Examples
# Display the DUID of the local device.
<Sysname> display ipv6 dhcp duid
The DUID of this device: 0003000100e0fc005552.
ipv6 dhcp dscp
Use ipv6 dhcp dscp to set the DSCP value for the DHCPv6 packets sent by the DHCPv6 server or
the DHCPv6 relay agent.
Use undo ipv6 dhcp dscp to restore the default.
Syntax
ipv6 dhcp dscp dscp-value
undo ipv6 dhcp dscp
Default
The DSCP value is 56 in DHCPv6 packets sent by the DHCPv6 server or the DHCPv6 relay agent.
Views
System view
Predefined user roles
network-admin
Parameters
dscp-value: Specifies the DSCP value for DHCPv6 packets, in the range of 0 to 63.
257