R0106-HP MSR Router Series Layer 3 - IP Services Configuration Guide(V7)

246
Ste
p
Command
Remarks
3. Configure the interface to
support stateless
DHCPv6.
Enable stateless IPv6 address
autoconfiguration:
ipv6 address auto
Enable stateless DHCPv6:
ipv6 dhcp client stateless enable
Use at least one of the
methods.
By default, the interface does
not support stateless DHCPv6.
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:
Ste
p
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 ]
Display the DHCPv6 client statistics.
display ipv6 dhcp client statistics [ interface interface-type
interface-number ]
Clear the DHCPv6 client statistics.
reset ipv6 dhcp client statistics [ interface interface-type
interface-number ]
DHCPv6 client configuration examples
IPv6 address acquisition configuration example
Network requirements
As shown in Figure 95, configure GigabitEthernet 2/1/1 of Router to use DHCPv6 to obtain
configuration parameters from the DHCPv6 server. The parameters include IPv6 address, DNS server
address, domain name suffix, SIP server address, and SIP server domain name.