
16-8
[SwitchA-Vlan-interface2] display ipv6 dhcp client interface vlan-interface 2
Vlan-interface2 is in stateless DHCPv6 client mode
State is OPEN
Preferred Server:
Reachable via address : FE80::213:7FFF:FEF6:C818
DUID : 0003000100137ff6c818
DNS servers : 1:2:3::5
1:2:4::7
Domain names : abc.com
Sysname.com
# You can use the
display ipv6 dhcp client statistics
command to view the current client statistics.
[SwitchA-Vlan-interface2] display ipv6 dhcp client statistics
Interface : Vlan-interface2
Packets Received : 1
Reply : 1
Advertise : 0
Reconfigure : 0
Invalid : 0
Packets Sent : 5
Solicit : 0
Request : 0
Confirm : 0
Renew : 0
Rebind : 0
Information-request : 5
Release : 0
Decline : 0
DHCPv6 Relay Agent Configuration Example
Network requirements
As shown in
, the network address prefix of DHCPv6 clients is 1::/64, and the IPv6 address
of the DHCPv6 server is 2::2/64. The DHCPv6 client and server need to communicate via a DHCPv6
relay agent (Switch A).
Switch A acts as the gateway of network 1::/64. It sends RA messages to notify the hosts to obtain
IPv6 addresses and other configuration parameters through DHCPv6.
Figure 16-6
DHCPv6 relay agent configuration