Verifying the configuration
After receiving an RA message with the M flag set to 0 and the O flag set to 1, Switch A automatically enables the stateless DHCPv6 function.
# Use the display ipv6 dhcp client command to view the current client configuration information. If the client successfully obtains configuration information from the server, the following information will be displayed.
[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
# 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