Step
1.
Enter system view.
2.
Enter interface view.
3.
Configure the DHCPv6
client DUID.
Displaying and maintaining DHCPv6 client
Execute the display commands in any view, and execute the reset command in user view.
Task
Display the DHCPv6 client information.
Display the DHCPv6 client statistics.
Clear the DHCPv6 client statistics.
DHCPv6 client configuration examples
IPv6 address acquisition configuration example
Network requirements
As shown in
parameters from the DHCPv6 server. The parameters include IPv6 address, DNS server address, domain
name suffix, SIP server address, and SIP server domain name.
Command
system-view
•
Layer 3 Ethernet interface:
interface interface-type
interface-number
•
Layer 3 aggregate interface:
interface route-aggregation
interface-number
•
Management Ethernet interface:
interface m-ethernet interface-number
•
VLAN interface:
interface vlan-interface
interface-number
ipv6 dhcp client duid { ascii
string | hex string | mac
interface-type
interface-number }
Figure
75, configure VLAN-interface 2 on the switch to use DHCPv6 to obtain configuration
By default, the device uses DUID-LL as the
DHCPv6 client DUID.
DUID-LL includes the following fields:
•
DUID type—The device supports the DUID
type of DUID-LL with the value of 0x0003.
•
Hardware type—The device supports the
hardware type of Ethernet with the value of
0x0001.
•
Link layer address—Takes the value of the
bridge MAC address of the device.
Command
display ipv6 dhcp client [ interface interface-type
interface-number ]
display ipv6 dhcp client statistics [ interface interface-type
interface-number ]
reset ipv6 dhcp client statistics [ interface interface-type
interface-number ]
185
Remarks
N/A
N/A