Executing the ipv6 dhcp relay server-address command repeatedly can specify multiple
DHCPv6 servers, and up to eight DHCP servers can be specified for an interface. After receiving
requests from DHCPv6 clients, the DHCPv6 relay agent forwards the requests to all the specified
DHCPv6 servers.
If the DHCPv6 server address is a link-local address or link-scoped multicast address on the local
link, you need to specify an outgoing interface using the interface keyword in the ipv6 dhcp relay
server-address command; otherwise, DHCPv6 packets may fail to be forwarded to the DHCPv6
server.
Removing all the specified DHCPv6 server addresses from an interface disables DHCPv6 relay
agent on the interface.
An interface cannot serve as a stateless DHCPv6 client and DHCPv6 relay agent at the same time.
Displaying and Maintaining DHCPv6
To do...
Display DHCPv6 client
information
Display DHCPv6 client
statistics
Display the DUID of the local
device
Display DHCPv6 server
addresses specified on the
DHCPv6 relay agent
Display packet statistics on the
DHCPv6 relay agent
Clear DHCPv6 client statistics
Clear packets statistics on the
DHCPv6 relay agent
DHCPv6 Configuration Examples
Stateless DHCPv6 Configuration Example
Network requirements
As shown in
Figure
name, and other information from the server.
Switch B acts as the gateway to send RA messages periodically.
display ipv6 dhcp client [ interface
interface-type interface-number ]
display ipv6 dhcp client statistics
[ interface interface-type
interface-number ]
display ipv6 dhcp duid
display ipv6 dhcp relay
server-address { all | interface
interface-type interface-number }
display ipv6 dhcp relay statistics
reset ipv6 dhcp client statistics
[ interface interface-type
interface-number ]
reset ipv6 dhcp relay statistics
1-5, through stateless DHCPv6, Switch A obtains the DNS server address, domain
Use the command...
1-6
Remarks
Available in any view
Available in any view
Available in any view
Available in any view
Available in any view
Available in user view
Available in user view