Displaying and maintaining dhcpv6 client – H3C Technologies H3C S5560 Series Switches User Manual
Page 206

191
Step Command
Remarks
2.
Enter interface view.
•
Layer 3 Ethernet interface:
interface interface-type
interface-number
•
Layer 3 aggregate interface:
interface route-aggregation
interface-number
•
Management Ethernet
interface:
interface M-GigabitEthernet
interface-number
•
VLAN interface:
interface vlan-interface
interface-number
N/A
3.
Configure the interface to
support stateless DHCPv6.
•
Enable stateless IPv6 address
autoconfiguration:
ipv6 address auto
•
Enable stateless DHCPv6:
ipv6 dhcp client stateless
enable
By default, the interface does not
support stateless DHCPv6.
You can perform both tasks.
If you use only the ipv6 address
auto command, make sure the M
flag is set to 0 and the O flag is set
to 1 in the RA message. Otherwise,
stateless DHCPv6 cannot be
triggered.
Setting the DSCP value for DHCPv6 packets sent by
the DHCPv6 client
The DSCP value of a packet specifies the priority level of the packet and affects the transmission priority
of the packet.
To set the DSCP value for DHCPv6 packets sent by the DHCPv6 client:
Step Command
Remarks
1.
Enter system view.
system-view N/A
2.
Set the DSCP value for
DHCPv6 packets sent by the
DHCPv6 client.
ipv6 dhcp client dscp dscp-value
By default, the DSCP value in
DHCPv6 packets sent by the
DHCPv6 client is 56.
Displaying and maintaining DHCPv6 client
Execute the display commands in any view, and execute the reset command in user view.
Task Command
Display the DHCPv6 client information.
display ipv6 dhcp client [ interface interface-type
interface-number ]